Don't try to load message with zero id
chatPage.messageIdToShow can be defined and yet be zero
This commit is contained in:
parent
985e7341dc
commit
a6d469a999
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ Page {
|
||||||
messageOverlayLoader.overlayMessage = chatPage.messageToShow;
|
messageOverlayLoader.overlayMessage = chatPage.messageToShow;
|
||||||
messageOverlayLoader.active = true;
|
messageOverlayLoader.active = true;
|
||||||
}
|
}
|
||||||
if (typeof chatPage.messageIdToShow !== "undefined") {
|
if (chatPage.messageIdToShow) {
|
||||||
tdLibWrapper.getMessage(chatPage.chatInformation.id, chatPage.messageIdToShow);
|
tdLibWrapper.getMessage(chatPage.chatInformation.id, chatPage.messageIdToShow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue