fix typing

This commit is contained in:
Peter Maquiran
2024-02-29 15:56:21 +01:00
parent 3fd33066a9
commit f9f4416b60
+2 -3
View File
@@ -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') {