🚑 Fix chat message issue

This commit is contained in:
LittleSheep 2024-04-05 16:04:25 +08:00
parent 9039dfb34e
commit 634347a958

View File

@ -55,7 +55,7 @@ const channels = useChannels()
const props = defineProps<{ item: any }>() 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() { function replyMessage() {
channels.related.messages.reply_to = JSON.parse(JSON.stringify(props.item)) channels.related.messages.reply_to = JSON.parse(JSON.stringify(props.item))