Some fixes for #457 were missing...
This commit is contained in:
parent
b2e41a6421
commit
b5b0ec5ed1
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ ChatInformationTabItemBase {
|
|||
// chat title
|
||||
primaryText.text: Emoji.emojify(Functions.getUserName(user), primaryText.font.pixelSize)
|
||||
// last user
|
||||
prologSecondaryText.text: "@"+(user.username !== "" ? user.username : user_id) + (user_id === chatInformationPage.myUserId ? " " + qsTr("You") : "")
|
||||
prologSecondaryText.text: "@"+(user.username !== "" ? user.username : member_id.user_id) + (member_id.user_id === chatInformationPage.myUserId ? " " + qsTr("You") : "")
|
||||
secondaryText {
|
||||
horizontalAlignment: Text.AlignRight
|
||||
property string statusText: Functions.getChatMemberStatusText(model.status["@type"])
|
||||
|
@ -92,7 +92,7 @@ ChatInformationTabItemBase {
|
|||
}
|
||||
|
||||
onClicked: {
|
||||
tdLibWrapper.createPrivateChat(user_id, "openDirectly");
|
||||
tdLibWrapper.createPrivateChat(member_id.user_id, "openDirectly");
|
||||
}
|
||||
}
|
||||
footer: Component {
|
||||
|
|
Loading…
Reference in a new issue