From 44850c70352c1a1570bc6ad4f7b33f3f092079fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rich=CE=9Brd?= Date: Mon, 10 May 2021 13:31:08 -0400 Subject: [PATCH] Update ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml Co-authored-by: Jonathan Rainville --- .../AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml index 5e1187e822..fc4491acf8 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml @@ -48,7 +48,7 @@ Item { const chatType = chatsModel.communities.activeCommunity.active ? Constants.chatTypeCommunity : Constants.chatTypePublic; const foundChatType = chatsModel.getChatType(channelName); - if(foundChatType == -1 || foundChatType !== Constants.chatTypePublic){ + if(foundChatType === -1 || foundChatType !== Constants.chatTypePublic){ chatsModel.joinPublicChat(channelName); if(chatsModel.communities.activeCommunity.active) { chatsModel.communities.activeCommunity.active = false