From 92b2b33e461db21d6431fe81287cc0b5e180cdd6 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 22 Aug 2024 12:28:25 +0100 Subject: [PATCH] change console.log --- src/app/ui/chat/component/messages/messages.page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ui/chat/component/messages/messages.page.ts b/src/app/ui/chat/component/messages/messages.page.ts index 772273f5b..506bd3b9c 100644 --- a/src/app/ui/chat/component/messages/messages.page.ts +++ b/src/app/ui/chat/component/messages/messages.page.ts @@ -300,13 +300,13 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy sendReadMessage() { - Logger.info('send read at') - for(const message of this.messages1[this.roomId]) { const me = message.info.find(e => e.memberId == SessionStore.user.UserId && typeof e.readAt == 'string') if(!me) { + Logger.info('send read at') + this.chatServiceService.sendReadAt({ memberId: SessionStore.user.UserId, messageId: message.id,