Commit e1f59352 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

SBSMessageBase: use Author directly

To be displayed in a swarm with multiple participants

Change-Id: Ic29cd1b5ec3b6635f2f9ee907094812b38ec7116
parent 5f79a9f2
......@@ -74,7 +74,7 @@ Control {
Label {
id: username
text: chatView.headerUserUserNameLabelText
text: UtilsAdapter.getBestNameForUri(CurrentAccount.id, Author)
font.bold: true
visible: (seq === MsgSeq.first || seq === MsgSeq.single) && !isOutgoing
font.pixelSize: JamiTheme.usernameBlockFontSize
......
......@@ -182,7 +182,6 @@ Rectangle {
if (item.convId === undefined)
return
chatView.headerUserAliasLabelText = item.title
chatView.headerUserUserNameLabelText = item.bestId
if (item.callStackViewShouldShow) {
if (inSettingsView) {
toggleSettingsView()
......
......@@ -33,7 +33,6 @@ Rectangle {
id: root
property string headerUserAliasLabelText: ""
property string headerUserUserNameLabelText: ""
property bool allMessagesLoaded
......@@ -64,7 +63,6 @@ Rectangle {
Layout.minimumWidth: JamiTheme.chatViewHeaderMinimumWidth
userAliasLabelText: headerUserAliasLabelText
userUserNameLabelText: headerUserUserNameLabelText
DropArea {
anchors.fill: parent
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment