Skip to content
Snippets Groups Projects
Commit 0b1d3a40 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Remove unused binding name

parent e48dfd15
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment