From 0354676d2f5bf7c2605ff3ac1599242f8856fbd8 Mon Sep 17 00:00:00 2001 From: byGalax Date: Sat, 16 May 2026 17:17:30 +0200 Subject: [PATCH] refactor(mobile): MessageBubble drops ownDeviceId prop --- apps/mobile/components/MessageBubble.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/mobile/components/MessageBubble.tsx b/apps/mobile/components/MessageBubble.tsx index 669b9b2..e853e21 100644 --- a/apps/mobile/components/MessageBubble.tsx +++ b/apps/mobile/components/MessageBubble.tsx @@ -15,7 +15,6 @@ interface Props { parentSenderName: string; reactions: MessageReaction[]; myUserId: string | null; - ownDeviceId: string | null; ownPrivateKey: Uint8Array | null; onLongPress: () => void; onToggleReaction: (emoji: string) => void; @@ -36,7 +35,6 @@ export function MessageBubble({ parentSenderName, reactions, myUserId, - ownDeviceId, ownPrivateKey, onLongPress, onToggleReaction, @@ -72,12 +70,8 @@ export function MessageBubble({ ) : ( <> {text.length > 0 && {text}} - {firstImage && ownDeviceId && ownPrivateKey && ( - + {firstImage && ownPrivateKey && ( + )} )}