Update ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
RichΛrd 2021-05-10 13:31:08 -04:00 committed by Iuri Matias
parent c817cadca1
commit 44850c7035
1 changed files with 1 additions and 1 deletions

View File

@ -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