diff --git a/frontend/openchat-shared/src/utils/chat.ts b/frontend/openchat-shared/src/utils/chat.ts index 49cc3f5f4a..c2ccbf3131 100644 --- a/frontend/openchat-shared/src/utils/chat.ts +++ b/frontend/openchat-shared/src/utils/chat.ts @@ -56,6 +56,8 @@ export function userIdsFromEvents(events: EventWrapper[]): Set userIds.add(r.reportedBy)); + } else if (e.event.content.kind === "prize_winner_content") { + userIds.add(e.event.content.transaction.recipient); } e.event.reactions.forEach((r) => r.userIds.forEach((u) => userIds.add(u))); extractUserIdsFromMentions(