1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

chatview: do not migrate to swarm for SIP account

Change-Id: Id7fb985ef3e449dab67463a8e4320b493457341a
GitLab: #796
This commit is contained in:
Sébastien Blin 2022-08-11 09:32:34 -04:00
parent 17041f780f
commit 481541564a

View file

@ -161,7 +161,7 @@ Rectangle {
} }
UpdateToSwarm { UpdateToSwarm {
visible: !CurrentConversation.isSwarm && !CurrentConversation.isTemporary visible: !CurrentConversation.isSwarm && !CurrentConversation.isTemporary && CurrentAccount.type === Profile.Type.JAMI
Layout.fillWidth: true Layout.fillWidth: true
} }
@ -169,6 +169,8 @@ Rectangle {
id: chatViewFooter id: chatViewFooter
visible: { visible: {
if (CurrentAccount.type === Profile.Type.SIP)
return true
if (CurrentConversation.isBlocked) if (CurrentConversation.isBlocked)
return false return false
else if (CurrentConversation.needsSyncing) else if (CurrentConversation.needsSyncing)