From 9c3465ba7c2dfe7d5c061bf4a4adab2ffdb2f5c1 Mon Sep 17 00:00:00 2001 From: Leopold Chappuis <leopold.chappuis@savoirfairelinux.com> Date: Thu, 21 Nov 2024 15:37:13 -0500 Subject: [PATCH] updateProfile: Send Signal for SIP Accounts The SIP accounts were not functioning properly because they weren't notified that a new profile vCard was available. Since they lack a URI, the accountId needs to be included in the URI. This adjustment shouldn't cause significant issues, as accountIds have a different format than URIs. Change-Id: I2fd41909c4bf20a9c42538620dacc732b6ab27e1 --- src/sip/sipaccount.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sip/sipaccount.cpp b/src/sip/sipaccount.cpp index 8b543c109..369fb0137 100644 --- a/src/sip/sipaccount.cpp +++ b/src/sip/sipaccount.cpp @@ -189,6 +189,9 @@ SIPAccount::updateProfile(const std::string& displayName, file << vCard::utils::toString(profile); file.close(); std::filesystem::rename(tmpPath, vCardPath); + emitSignal<libjami::ConfigurationSignal::ProfileReceived>(getAccountID(), + "", + vCardPath.string()); } else { JAMI_ERROR("Unable to open file for writing: {}", tmpPath); } -- GitLab