mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix #697 (Setting alias isn't persistent for some contacts)
This commit is contained in:
parent
45c96c6aea
commit
58893266e8
|
@ -849,6 +849,11 @@ void Settings::setFriendAlias(const ToxID &id, const QString &alias)
|
|||
if (it != friendLst.end())
|
||||
{
|
||||
it->alias = alias;
|
||||
} else {
|
||||
friendProp fp;
|
||||
fp.addr = key;
|
||||
fp.alias = alias;
|
||||
friendLst[key] = fp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user