From 4e37fb70f1237ff8115876b565494c70bb955db2 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Tue, 29 Jul 2025 15:10:04 +0200 Subject: [PATCH] only allow leaving if group chat --- Linphone/view/Control/Display/Chat/ChatListView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/view/Control/Display/Chat/ChatListView.qml b/Linphone/view/Control/Display/Chat/ChatListView.qml index de5096b3e..cfd16f50e 100644 --- a/Linphone/view/Control/Display/Chat/ChatListView.qml +++ b/Linphone/view/Control/Display/Chat/ChatListView.qml @@ -373,7 +373,7 @@ ListView { IconLabelButton { //: "leave" text: qsTr("chat_room_leave") - visible: mainItem.currentChatGui && !mainItem.currentChatGui.core.isReadOnly + visible: mainItem.currentChatGui && !mainItem.currentChatGui.core.isReadOnly && mainItem.currentChatGui.core.isGroupChat icon.source: AppIcons.trashCan spacing: Math.round(10 * DefaultStyle.dp) Layout.fillWidth: true