mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
only mark other users messages as seen
This commit is contained in:
parent
edeb22e70c
commit
b1102f6e3e
@ -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
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user