1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 22:35:45 +02:00

conversationextrapanel: close details on request/sync

Change-Id: Iec52dc4400bc92283b8a0f7eb5643c758902dc19
GitLab: #1149
This commit is contained in:
Sébastien Blin 2023-05-29 15:46:30 -04:00 committed by Andreas Traczyk
parent 5508f28c63
commit 26d16c38b8

View file

@ -35,7 +35,7 @@ StackLayout {
function restoreState() {
// Only applies to Jami accounts, and we musn't be in a call.
if (detailsShouldOpen && !inCallView) {
if (detailsShouldOpen && !inCallView && !CurrentConversation.needsSyncing && !CurrentConversation.isRequest) {
switchToPanel(ChatView.SwarmDetailsPanel, false);
} else {
closePanel();