mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
sip: various fixes
Change-Id: I466683f1c95e983ca6a33d084b4aabf4c3d6549e GitLab: #816 GitLab: #814
This commit is contained in:
parent
b58bb644e8
commit
4b746879b1
2 changed files with 22 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue