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') {