Skip to content

Commit

Permalink
Don't send updateStoryStealthMode for bots.
Browse files Browse the repository at this point in the history
  • Loading branch information
AYMENJD authored and levlam committed Oct 5, 2024
1 parent 09eae44 commit 4ac7811
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion td/telegram/StoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ac7811

Please sign in to comment.