2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

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

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();
}
}