Don't send updateForumTopicInfo for bots just in case.
This commit is contained in:
parent
ff43a82359
commit
ba7a1bd895
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user