fix: hide chat input if you havent joined a group
This commit is contained in:
parent
e4b4bf9900
commit
c4bfba5cbf
|
@ -215,6 +215,10 @@ StackLayout {
|
||||||
|
|
||||||
StatusChatInput {
|
StatusChatInput {
|
||||||
id: chatInput
|
id: chatInput
|
||||||
|
visible: {
|
||||||
|
if (chatsModel.activeChannel.chatType !== Constants.chatTypePrivateGroupChat) return true;
|
||||||
|
return chatsModel.activeChannel.isMember
|
||||||
|
}
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
recentStickers: chatsModel.recentStickers
|
recentStickers: chatsModel.recentStickers
|
||||||
stickerPackList: chatsModel.stickerPacks
|
stickerPackList: chatsModel.stickerPacks
|
||||||
|
|
Loading…
Reference in New Issue