From f9f4416b606d614af8ccb5a12b9943a701af89a1 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 29 Feb 2024 15:56:21 +0100 Subject: [PATCH] fix typing --- src/app/services/chat/room.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/services/chat/room.service.ts b/src/app/services/chat/room.service.ts index ae6f14d55..71cbe6ad0 100644 --- a/src/app/services/chat/room.service.ts +++ b/src/app/services/chat/room.service.ts @@ -286,12 +286,11 @@ export class RoomService { if (typeof args[1] != 'object') { this.userThatIsTyping = this.usernameToDisplayName(args[0]) - this.isTyping = args[1] - this.otherUserType = args[1] - const user = args[0] if (SessionStore.user.UserName != user) { this.readAllMessage() + this.isTyping = args[1] + this.otherUserType = args[1] } } else if (args[0]?.method == 'viewMessage' || args[1]?.method == 'viewMessage') {