Remove warning if no draft_message is present
This commit is contained in:
parent
2c078307dc
commit
04f6c14e86
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ Page {
|
||||||
Debug.log("[ChatPage] Received pinned message");
|
Debug.log("[ChatPage] Received pinned message");
|
||||||
pinnedMessageItem.pinnedMessage = message;
|
pinnedMessageItem.pinnedMessage = message;
|
||||||
}
|
}
|
||||||
if (messageId === chatInformation.draft_message.reply_to_message_id) {
|
if (chatInformation.draft_message && messageId === chatInformation.draft_message.reply_to_message_id) {
|
||||||
newMessageInReplyToRow.inReplyToMessage = message;
|
newMessageInReplyToRow.inReplyToMessage = message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue