diff options
| author | levlam <levlam@telegram.org> | 2025-09-26 15:38:30 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-09-26 15:38:30 +0300 |
| commit | 8d194f9a2985ea331d22dfd7501456e1c9f6eac3 (patch) | |
| tree | 7fe887b874e6e30a09aed7a2a9b1ef5ffcbfcd93 /td/telegram/ForumTopicManager.h | |
| parent | 657cb12c6a93fbdad99c430ba9dfd0c367a34ca1 (diff) | |
Allow bots in can_be_forum.
Diffstat (limited to 'td/telegram/ForumTopicManager.h')
| -rw-r--r-- | td/telegram/ForumTopicManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/ForumTopicManager.h b/td/telegram/ForumTopicManager.h index 3114dad3e..57c720d5c 100644 --- a/td/telegram/ForumTopicManager.h +++ b/td/telegram/ForumTopicManager.h @@ -150,7 +150,7 @@ class ForumTopicManager final : public Actor { Status is_forum(DialogId dialog_id); - bool can_be_forum(DialogId dialog_id) const; + bool can_be_forum(DialogId dialog_id, bool allow_bots = false) const; static Status can_be_message_thread_id(MessageId top_thread_message_id); |
