From bdcf2c96eb406ec149e9610bbcabdc3dfd25f1cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Fri, 19 Aug 2022 09:58:14 -0400
Subject: [PATCH] chatviewheader: show buttons for sip account

GitLab: #809
Change-Id: I0b110c1d378db83ba20be5679dc11b8337483eec
---
 src/app/mainview/components/ChatViewHeader.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/app/mainview/components/ChatViewHeader.qml b/src/app/mainview/components/ChatViewHeader.qml
index 9c0f9d9f3..135b9d845 100644
--- a/src/app/mainview/components/ChatViewHeader.qml
+++ b/src/app/mainview/components/ChatViewHeader.qml
@@ -46,6 +46,8 @@ Rectangle {
     property bool interactionButtonsVisibility: {
         if (CurrentConversation.inCall)
             return false
+        if (LRCInstance.currentAccountType === Profile.Type.SIP)
+            return true
         if (!CurrentConversation.isTemporary && !CurrentConversation.isSwarm)
             return false
         if (CurrentConversation.isRequest || CurrentConversation.needsSyncing)
-- 
GitLab