mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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: {
|
case Users: {
|
||||||
QString users;
|
QString users;
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (const auto &[event_id, reaction] : reactions[i].reactions) {
|
for (const auto &reaction : reactions[i].reactions) {
|
||||||
if (!first)
|
if (!first)
|
||||||
users += ", ";
|
users += ", ";
|
||||||
else
|
else
|
||||||
first = false;
|
first = false;
|
||||||
users +=
|
users += QString::fromStdString(
|
||||||
QString::fromStdString(cache::displayName(room_id_, reaction.sender));
|
cache::displayName(room_id_, reaction.second.sender));
|
||||||
}
|
}
|
||||||
return users;
|
return users;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue