diff --git a/frontend/openchat-shared/src/utils/chat.ts b/frontend/openchat-shared/src/utils/chat.ts index c2d19b3728..58326d48ba 100644 --- a/frontend/openchat-shared/src/utils/chat.ts +++ b/frontend/openchat-shared/src/utils/chat.ts @@ -52,7 +52,9 @@ export function userIdsFromEvents(events: EventWrapper[]): Set userIds.add(id)); } - if (e.event.content.kind === "reported_message_content") { + if (e.event.content.kind === "crypto_content") { + userIds.add(e.event.content.transfer.recipient); + } else if (e.event.content.kind === "reported_message_content") { e.event.content.reports.forEach((r) => userIds.add(r.reportedBy)); } extractUserIdsFromMentions(