only mark other users messages as seen

This commit is contained in:
Moriz Wahl 2023-07-17 16:07:12 +02:00
parent edeb22e70c
commit b1102f6e3e

View File

@ -267,7 +267,7 @@ export default {
const msgs = []
;[...this.messages, ...Message].forEach((m) => {
m.seen = true
if (m.senderId !== this.currentUser.id) m.seen = true
m.date = new Date(m.date).toDateString()
msgs[m.indexId] = m
})