diff --git a/src/app/features/room/message/Message.tsx b/src/app/features/room/message/Message.tsx index 87bd0e52..97597ad4 100644 --- a/src/app/features/room/message/Message.tsx +++ b/src/app/features/room/message/Message.tsx @@ -457,7 +457,7 @@ function MessageInternal( }, [pmp, senderDisplayName, parsePronouns]); const mergedPronouns = useMemo(() => { - const existing = profile.pronouns ? [...profile.pronouns] : []; + const existing = pronouns ? [...pronouns] : []; if (inlinePronoun) { const isDupe = existing.some((p) => p.summary?.toLowerCase() === inlinePronoun); @@ -471,7 +471,7 @@ function MessageInternal( } return existing; - }, [profile.pronouns, inlinePronoun]); + }, [pronouns, inlinePronoun]); useEffect(() => { if (!mobileOptionsOpen) return undefined; @@ -508,7 +508,7 @@ function MessageInternal( {showPronouns && ( - + )} {tagIconSrc && }