From 172386a99d9729f1bab0816c77b8949f42ae7de1 Mon Sep 17 00:00:00 2001 From: gaelle Date: Mon, 2 Mar 2026 16:36:40 +0100 Subject: [PATCH] use display name for message notification sender --- Linphone/core/notifier/Notifier.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Linphone/core/notifier/Notifier.cpp b/Linphone/core/notifier/Notifier.cpp index 4620f2e09..8ccae9c05 100644 --- a/Linphone/core/notifier/Notifier.cpp +++ b/Linphone/core/notifier/Notifier.cpp @@ -360,9 +360,8 @@ void Notifier::notifyReceivedMessages(const std::shared_ptr auto getMessage = [this, &remoteAddress, &txt](const shared_ptr &message) { if (message->isRead()) return; - auto remoteAddr = message->getFromAddress(); - // remoteAddr->clean(); - remoteAddress = Utils::coreStringToAppString(remoteAddr->asStringUriOnly()); + auto remoteAddr = message->getFromAddress(); //->clone(); + remoteAddress = ToolModel::getDisplayName(remoteAddr); auto fileContent = message->getFileTransferInformation(); if (!fileContent) { for (auto content : message->getContents()) {