Don't send updateForumTopicInfo for bots just in case.

This commit is contained in:
levlam 2022-10-29 02:42:51 +03:00
parent ff43a82359
commit ba7a1bd895

View File

@ -326,6 +326,9 @@ td_api::object_ptr<td_api::updateForumTopicInfo> ForumTopicManager::get_update_f
}
void ForumTopicManager::send_update_forum_topic_info(DialogId dialog_id, const ForumTopicInfo *topic_info) const {
if (td_->auth_manager_->is_bot()) {
return;
}
send_closure(G()->td(), &Td::send_update, get_update_forum_topic_info(dialog_id, topic_info));
}