aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/ChatReactions.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-03-26 19:44:11 +0300
committerlevlam <levlam@telegram.org>2025-03-26 19:44:11 +0300
commitb9e99981c433906868139d2f4e22b28a47a9e95e (patch)
tree56ac72d3c02de2993df59071ceae99109dbba50f /td/telegram/ChatReactions.cpp
parentd227bb4d49f66813486d13f57ecfd5a882dd7563 (diff)
Use bool fields for some more classes.
Diffstat (limited to 'td/telegram/ChatReactions.cpp')
-rw-r--r--td/telegram/ChatReactions.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/td/telegram/ChatReactions.cpp b/td/telegram/ChatReactions.cpp
index 4f73cbb30..c87c064cc 100644
--- a/td/telegram/ChatReactions.cpp
+++ b/td/telegram/ChatReactions.cpp
@@ -120,11 +120,7 @@ td_api::object_ptr<td_api::ChatAvailableReactions> ChatReactions::get_chat_avail
telegram_api::object_ptr<telegram_api::ChatReactions> ChatReactions::get_input_chat_reactions() const {
if (allow_all_regular_) {
- int32 flags = 0;
- if (allow_all_custom_) {
- flags |= telegram_api::chatReactionsAll::ALLOW_CUSTOM_MASK;
- }
- return telegram_api::make_object<telegram_api::chatReactionsAll>(flags, allow_all_custom_);
+ return telegram_api::make_object<telegram_api::chatReactionsAll>(0, allow_all_custom_);
}
if (!reaction_types_.empty()) {
return telegram_api::make_object<telegram_api::chatReactionsSome>(