Skip to content
Snippets Groups Projects
Commit 4b746879 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

sip: various fixes

Change-Id: I466683f1c95e983ca6a33d084b4aabf4c3d6549e
GitLab: #816
GitLab: #814
parent b58bb644
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,9 @@
import QtQuick
import QtQuick.Controls
import net.jami.Models 1.1
import net.jami.Adapters 1.1
import net.jami.Constants 1.1
import net.jami.Models 1.1
import "../../commoncomponents"
......@@ -142,7 +142,7 @@ JamiListView {
isBanned = item.isBanned
mode = item.mode
contactType = LRCInstance.currentAccountType
readOnly = mode === Conversation.Mode.NON_SWARM && !item.isTemporary
readOnly = mode === Conversation.Mode.NON_SWARM && !item.isTemporary && CurrentAccount.type !== Profile.Type.SIP
if (model.dataForRow(row, ConversationList.IsCoreDialog)) {
userProfile.aliasText = item.title
......
......@@ -95,8 +95,27 @@ Rectangle {
color: JamiTheme.textColor
}
Label {
id: descriptionLabel
visible: CurrentAccount.type === Profile.Type.SIP
anchors.top: welcome.bottom
anchors.left: parent.left
anchors.topMargin: JamiTheme.preferredMarginSize * 2
anchors.leftMargin: JamiTheme.preferredMarginSize
width: 300
font.pixelSize: JamiTheme.headerFontSize
wrapMode: Text.WordWrap
text: JamiStrings.description
color: JamiTheme.textColor
}
Label {
id: identifierDescription
visible: CurrentAccount.type !== Profile.Type.SIP
anchors.top: welcome.bottom
anchors.left: parent.left
......@@ -115,6 +134,7 @@ Rectangle {
JamiIdentifier {
id: identifier
editable: true
visible: CurrentAccount.type !== Profile.Type.SIP
anchors.top: identifierDescription.bottom
anchors.left: parent.left
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment