Commit c315d953 authored by Raphaël Brulé's avatar Raphaël Brulé Committed by Adrien Béraud

jams: emit AccountProfileReceived when display name exists

Adds 'or not displayName_.empty()' as a condition
to emit the AccountProfileReceived signal.

Change-Id: I5c86d46d9102deb269ea4d0ad31340c6f6771c0c
parent 54eb7f06
......@@ -1295,7 +1295,7 @@ JamiAccount::loadAccount(const std::string& archive_password,
Migration::setState(getAccountID(), Migration::State::SUCCESS);
}
if (not info.photo.empty())
if (not info.photo.empty() or not displayName_.empty())
emitSignal<DRing::ConfigurationSignal::AccountProfileReceived>(getAccountID(),
displayName_,
info.photo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment