From 634347a95888359c4b3bb00ea205dfe942fad03c Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 5 Apr 2024 16:04:25 +0800 Subject: [PATCH] :ambulance: Fix chat message issue --- src/components/chat/ChatMessage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chat/ChatMessage.vue b/src/components/chat/ChatMessage.vue index 778c056..0722648 100644 --- a/src/components/chat/ChatMessage.vue +++ b/src/components/chat/ChatMessage.vue @@ -55,7 +55,7 @@ const channels = useChannels() const props = defineProps<{ item: any }>() -const isOwned = computed(() => props.item?.sender?.id === id.userinfo.idSet.messaging) +const isOwned = computed(() => props.item?.sender?.account_id === id.userinfo.idSet.messaging) function replyMessage() { channels.related.messages.reply_to = JSON.parse(JSON.stringify(props.item))