mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
6522988e8c
commit
6801298e96
|
@ -87,11 +87,9 @@ void Friend::setAlias(const QString& alias)
|
|||
}
|
||||
|
||||
for (Group* g : GroupList::getAllGroups()) {
|
||||
if (userAlias.isEmpty()) {
|
||||
g->updateUsername(friendPk, userName);
|
||||
continue;
|
||||
if (g->getPeerList().contains(friendPk)) {
|
||||
g->updateUsername(friendPk, newDisplayed);
|
||||
}
|
||||
g->updateUsername(friendPk, userAlias);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user