Fixed message reference in Replies chat
According to td_api.tl: @reply_in_chat_id If non-zero, the identifier of the chat to which the replied message belongs; Currently, only messages in the Replies chat can have different reply_in_chat_id and chat_id
This commit is contained in:
parent
985e7341dc
commit
af5a2b6c92
1 changed files with 3 additions and 3 deletions
|
@ -228,9 +228,9 @@ ListItem {
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
delegateComponentLoadingTimer.start();
|
delegateComponentLoadingTimer.start();
|
||||||
|
if (myMessage.reply_to_message_id) {
|
||||||
if (myMessage.reply_to_message_id !== 0) {
|
tdLibWrapper.getMessage(myMessage.reply_in_chat_id ? myMessage.reply_in_chat_id : page.chatInformation.id,
|
||||||
tdLibWrapper.getMessage(page.chatInformation.id, myMessage.reply_to_message_id);
|
myMessage.reply_to_message_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue