Skip to content

Commit

Permalink
read who reacted
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 14, 2025
1 parent 4698115 commit a2c8d19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,8 @@ public class BaseMessageCell: UITableViewCell {
var reactionsString = ""
if let reactions {
reactionsString = ", " + String.localized(stringID: "n_reactions", parameter: reactions.reactionsByContact.count) + ": "
reactions.reactions.forEach {
reactionsString += $0.count > 1 ? " \($0.count)" : ""
reactionsString += " \($0.emoji)"
for (contactId, reactions) in reactions.reactionsByContact {
reactionsString += dcContext.getContact(id: contactId).displayName + ": " + reactions.joined(separator: " ") + ", "
}
}

Expand Down

0 comments on commit a2c8d19

Please sign in to comment.