mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(ui): Display most recent group member's name instead of <Empty>
Fix #5294
This commit is contained in:
parent
8cfc1f0bbb
commit
11131fa083
|
@ -51,9 +51,8 @@ void Group::updatePeer(int peerId, QString name)
|
||||||
if (f != nullptr) {
|
if (f != nullptr) {
|
||||||
// use the displayed name from the friends list
|
// use the displayed name from the friends list
|
||||||
toxpks[peerKey] = f->getDisplayedName();
|
toxpks[peerKey] = f->getDisplayedName();
|
||||||
} else {
|
|
||||||
emit userListChanged(groupId, toxpks);
|
|
||||||
}
|
}
|
||||||
|
emit userListChanged(groupId, toxpks);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Group::setName(const QString& newTitle)
|
void Group::setName(const QString& newTitle)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user