mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-11 11:26:51 +08:00
chatview: do not migrate to swarm for SIP account
Change-Id: Id7fb985ef3e449dab67463a8e4320b493457341a GitLab: #796
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user