Update ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
parent
c817cadca1
commit
44850c7035
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue