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))