Make reply-to-message work again
This commit is contained in:
parent
a24bf81355
commit
b447d2bd24
1 changed files with 6 additions and 2 deletions
|
@ -463,13 +463,17 @@ Page {
|
||||||
width: parent.width - ( 2 * Theme.horizontalPageMargin )
|
width: parent.width - ( 2 * Theme.horizontalPageMargin )
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
|
property string replyToMessageId: "0";
|
||||||
|
|
||||||
InReplyToRow {
|
InReplyToRow {
|
||||||
onInReplyToMessageChanged: {
|
onInReplyToMessageChanged: {
|
||||||
console.log("This is a reply!");
|
console.log("This is a reply!");
|
||||||
if (typeof newMessageInReplyToRow.inReplyToMessage === "object") {
|
if (typeof newMessageInReplyToRow.inReplyToMessage === "object") {
|
||||||
visible: true;
|
newMessageColumn.replyToMessageId = newMessageInReplyToRow.inReplyToMessage.id.toString()
|
||||||
|
newMessageInReplyToRow.visible = true;
|
||||||
} else {
|
} else {
|
||||||
visible: false;
|
newMessageInReplyToRow.visible = false;
|
||||||
|
newMessageColumn.replyToMessageId = "0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue