diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index d8931ba04..fbdb80e62 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -6460,6 +6460,10 @@ void MessagesManager::save_auth_notification_ids() { void MessagesManager::on_update_service_notification(tl_object_ptr &&update, bool skip_new_entities, Promise &&promise) { + if (td_->auth_manager_->is_bot()) { + return; + } + bool has_date = (update->flags_ & telegram_api::updateServiceNotification::INBOX_DATE_MASK) != 0; auto date = has_date ? update->inbox_date_ : G()->unix_time(); if (date <= 0) {