Start chat from avatar or user name
This commit is contained in:
parent
d709473ae4
commit
8e46661d78
1 changed files with 12 additions and 0 deletions
|
@ -686,6 +686,12 @@ Page {
|
||||||
width: visible ? Theme.itemSizeSmall : 0
|
width: visible ? Theme.itemSizeSmall : 0
|
||||||
height: visible ? Theme.itemSizeSmall : 0
|
height: visible ? Theme.itemSizeSmall : 0
|
||||||
visible: ( chatPage.isBasicGroup || chatPage.isSuperGroup ) && !chatPage.isChannel
|
visible: ( chatPage.isBasicGroup || chatPage.isSuperGroup ) && !chatPage.isChannel
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
onClicked: {
|
||||||
|
tdLibWrapper.createPrivateChat(messageListItem.userInformation.id);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -741,6 +747,12 @@ Page {
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
horizontalAlignment: messageListItem.isOwnMessage ? Text.AlignRight : Text.AlignLeft
|
horizontalAlignment: messageListItem.isOwnMessage ? Text.AlignRight : Text.AlignLeft
|
||||||
visible: ( chatPage.isBasicGroup || chatPage.isSuperGroup ) && !chatPage.isChannel
|
visible: ( chatPage.isBasicGroup || chatPage.isSuperGroup ) && !chatPage.isChannel
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
onClicked: {
|
||||||
|
tdLibWrapper.createPrivateChat(messageListItem.userInformation.id);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InReplyToRow {
|
InReplyToRow {
|
||||||
|
|
Loading…
Reference in a new issue