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()) {
|
for (Group* g : GroupList::getAllGroups()) {
|
||||||
if (userAlias.isEmpty()) {
|
if (g->getPeerList().contains(friendPk)) {
|
||||||
g->updateUsername(friendPk, userName);
|
g->updateUsername(friendPk, newDisplayed);
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
g->updateUsername(friendPk, userAlias);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user