1
0
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:
apprb 2014-11-12 01:29:00 +09:00
parent 45c96c6aea
commit 58893266e8
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B

View File

@ -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;
}
}