mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 07:53:24 +08:00
avoid calling setAccountConfig when changing displayName
Change-Id: Ic8fa5ac8bd776b9b3b0746d458ec2a36f5cafeb9
This commit is contained in:
@@ -296,11 +296,6 @@ LRCInstance::setCurrAccDisplayName(const QString& displayName)
|
|||||||
{
|
{
|
||||||
auto accountId = get_currentAccountId();
|
auto accountId = get_currentAccountId();
|
||||||
accountModel().setAlias(accountId, displayName);
|
accountModel().setAlias(accountId, displayName);
|
||||||
/*
|
|
||||||
* Force save to .yml.
|
|
||||||
*/
|
|
||||||
auto confProps = accountModel().getAccountConfig(accountId);
|
|
||||||
accountModel().setAccountConfig(accountId, confProps);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const account::ConfProperties_t&
|
const account::ConfProperties_t&
|
||||||
|
|||||||
Reference in New Issue
Block a user