mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 00:02:28 +00:00
core, ui: prohibit to invite contact to channel
This commit is contained in:
1 parent
eddb42bd63
commit
d51cc75f35
4 files changed
+6
-3
No files matched your search
+1
-1
@@ -1281,7 +1281,7 @@ fun BoxScope.ChatInfoToolbar(
|
||||
}
|
||||
is ChatInfo.Group -> {
|
||||
// Add members / group link moved to menu
|
||||
if (chatInfo.groupInfo.canAddMembers) {
|
||||
if (chatInfo.groupInfo.canAddMembers && !chatInfo.groupInfo.useRelays) {
|
||||
if (!chatInfo.incognito) {
|
||||
menuItems.add {
|
||||
ItemAction(stringResource(MR.strings.icon_descr_add_members), painterResource(MR.images.ic_person_add_500), onClick = {
|
||||
|
||||
Reference in new issue
Block a user