mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Remove unused binding name
This commit is contained in:
parent
e48dfd15fe
commit
0b1d3a40f4
1 changed files with 3 additions and 3 deletions
|
@ -35,13 +35,13 @@ ReactionsModel::data(const QModelIndex &index, int role) const
|
|||
case Users: {
|
||||
QString users;
|
||||
bool first = true;
|
||||
for (const auto &[event_id, reaction] : reactions[i].reactions) {
|
||||
for (const auto &reaction : reactions[i].reactions) {
|
||||
if (!first)
|
||||
users += ", ";
|
||||
else
|
||||
first = false;
|
||||
users +=
|
||||
QString::fromStdString(cache::displayName(room_id_, reaction.sender));
|
||||
users += QString::fromStdString(
|
||||
cache::displayName(room_id_, reaction.second.sender));
|
||||
}
|
||||
return users;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue