This commit is contained in:
Peter Maquiran
2024-09-18 12:32:31 +01:00
parent 01c2f5efb5
commit 8d332f73a8
6 changed files with 59 additions and 30 deletions
+5
View File
@@ -109,6 +109,11 @@ export class MessageEntity {
return info.filter(e => typeof e.readAt == 'string' && e.memberId == SessionStore.user.UserId).length == 1
}
haveSeen() {
return this.info.filter(e => typeof e.readAt == 'string' && e.memberId == SessionStore.user.UserId).length == 1
}
meSender() {
return this.sender?.wxUserId == SessionStore.user.UserId
}