Check some more App::main()s.

This commit is contained in:
John Preston
2020-06-11 20:33:15 +04:00
parent 0ad7dcaef9
commit b0f9ad71dd
15 changed files with 91 additions and 57 deletions
+1 -1
View File
@@ -193,8 +193,8 @@ void SendExistingDocument(
if (document->sticker()) {
if (const auto main = App::main()) {
main->incrementSticker(document);
document->owner().stickers().notifyRecentUpdated();
}
document->owner().stickers().notifyRecentUpdated();
}
}