|
|
@ -292,10 +292,10 @@ EventStore::reactions(const std::string &event_id) |
|
|
|
reaction.count_ = agg.count; |
|
|
|
reaction.count_ = agg.count; |
|
|
|
reaction.selfReactedEvent_ = QString::fromStdString(agg.reactedBySelf); |
|
|
|
reaction.selfReactedEvent_ = QString::fromStdString(agg.reactedBySelf); |
|
|
|
|
|
|
|
|
|
|
|
bool first = true; |
|
|
|
bool firstReaction = true; |
|
|
|
for (const auto &user : agg.users) { |
|
|
|
for (const auto &user : agg.users) { |
|
|
|
if (first) |
|
|
|
if (firstReaction) |
|
|
|
first = false; |
|
|
|
firstReaction = false; |
|
|
|
else |
|
|
|
else |
|
|
|
reaction.users_ += ", "; |
|
|
|
reaction.users_ += ", "; |
|
|
|
|
|
|
|
|
|
|
|