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

Update API scheme to layer 90.

This commit is contained in:
John Preston
2018-12-17 11:01:30 +04:00
parent 8b0e54a95c
commit 7960706e60
10 changed files with 60 additions and 24 deletions

View File

@@ -60,7 +60,9 @@ void System::createManager() {
}
void System::schedule(History *history, HistoryItem *item) {
if (App::quitting() || !history->currentNotification() || !AuthSession::Exists()) return;
if (App::quitting()
|| !history->currentNotification()
|| !AuthSession::Exists()) return;
const auto notifyBy = (!history->peer->isUser() && item->mentionsMe())
? item->from().get()