From a2c8d1951e674c0db7f0c85e6d2e600534531a84 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 14 Feb 2025 17:50:37 +0100 Subject: [PATCH] read who reacted --- deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift b/deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift index 0aab83443..72bed680b 100644 --- a/deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift +++ b/deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift @@ -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: " ") + ", " } }