From b7a1cb8d7eca121dff7a99bc1fbed98bcc63171d Mon Sep 17 00:00:00 2001 From: Rye Date: Thu, 19 Mar 2026 20:27:41 +0100 Subject: [PATCH] added visual marker to mark it as a pmp --- src/app/features/room/message/Message.tsx | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/app/features/room/message/Message.tsx b/src/app/features/room/message/Message.tsx index 0385c7d0..88a4349f 100644 --- a/src/app/features/room/message/Message.tsx +++ b/src/app/features/room/message/Message.tsx @@ -401,6 +401,10 @@ function MessageInternal( return convertBeeperFormatToOurPerMessageProfile(pmp); }, [pmp]); + /** + * boolean to indicate wheather we should indicate to the user that it is a pmp + */ + const showPmPInfo = pmp !== undefined; // Profiles and Colors const profile = useUserProfile(senderId, room); const { color: usernameColor, font: usernameFont } = useSableCosmetics(senderId, room); @@ -515,6 +519,26 @@ function MessageInternal( {showPronouns && ( )} + {showPmPInfo && ( + + + + via + + + {senderDisplayName} + + + + )} {tagIconSrc && }