Merge pull request #478 from monich/zero-message-id
Don't try to load message with zero id
This commit is contained in:
commit
699d65ff4a
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ Page {
|
|||
messageOverlayLoader.overlayMessage = chatPage.messageToShow;
|
||||
messageOverlayLoader.active = true;
|
||||
}
|
||||
if (typeof chatPage.messageIdToShow !== "undefined") {
|
||||
if (chatPage.messageIdToShow) {
|
||||
tdLibWrapper.getMessage(chatPage.chatInformation.id, chatPage.messageIdToShow);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue