1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 06:45:45 +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 {
visible: !CurrentConversation.isSwarm && !CurrentConversation.isTemporary
visible: !CurrentConversation.isSwarm && !CurrentConversation.isTemporary && CurrentAccount.type === Profile.Type.JAMI
Layout.fillWidth: true
}
@ -169,6 +169,8 @@ Rectangle {
id: chatViewFooter
visible: {
if (CurrentAccount.type === Profile.Type.SIP)
return true
if (CurrentConversation.isBlocked)
return false
else if (CurrentConversation.needsSyncing)