Some Changes

This commit is contained in:
2024-11-20 22:33:16 +01:00
parent d9a22518da
commit 4b6857958c

View File

@@ -37,7 +37,8 @@ const sendMessage = async () => {
origin: dataStore.activeProfile.id,
destinationchat: itemInfo.value.id,
text: messageText.value,
tenant: dataStore.currentTenant
tenant: dataStore.currentTenant,
seenBy: [dataStore.activeProfile.id]
}
const {data,error} = await supabase.from("chatmessages").insert(message)