Skip to content
Snippets Groups Projects
Commit 9c3465ba authored by Léopold Chappuis's avatar Léopold Chappuis
Browse files

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
parent 96526bbb
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment