mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-26 05:26:00 +00:00
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…
x
Reference in New Issue
Block a user