mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix bold
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { z } from "zod";
|
||||
import { base64Schema } from "src/app/utils/zod";
|
||||
import { SessionStore } from "src/app/store/session.service";
|
||||
|
||||
|
||||
export enum MessageAttachmentSource {
|
||||
@@ -101,7 +102,7 @@ export class MessageEntity {
|
||||
}
|
||||
|
||||
static haveSeen(info: typeof MessageEntitySchema._type.info) {
|
||||
return info.filter(e => typeof e.readAt != 'string')
|
||||
return info.filter(e => typeof e.readAt != 'string' && e.memberId == SessionStore.user.UserId).length == 1
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user