Some fixes for #457 were missing...

This commit is contained in:
Sebastian Wolf 2021-12-07 20:36:48 +01:00
parent b2e41a6421
commit b5b0ec5ed1
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -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 {