From 4ac781102f19cc7014b286a1e246c7d13f0431ff Mon Sep 17 00:00:00 2001 From: AYMENJD <53928879+AYMENJD@users.noreply.github.com> Date: Sun, 29 Sep 2024 11:43:10 +0300 Subject: [PATCH] Don't send updateStoryStealthMode for bots. --- td/telegram/StoryManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/td/telegram/StoryManager.cpp b/td/telegram/StoryManager.cpp index 96ce9733fd76..0f3bb3ced87c 100644 --- a/td/telegram/StoryManager.cpp +++ b/td/telegram/StoryManager.cpp @@ -1602,7 +1602,9 @@ void StoryManager::start_up() { schedule_stealth_mode_update(); } } - send_update_story_stealth_mode(); + if (!td_->auth_manager_->is_bot()) { + send_update_story_stealth_mode(); + } try_synchronize_archive_all_stories(); load_expired_database_stories();