Fix misprint.
This commit is contained in:
parent
28961b7d0e
commit
3fa863e98e
@ -23873,7 +23873,7 @@ Result<td_api::object_ptr<td_api::availableReactions>> MessagesManager::get_mess
|
||||
}
|
||||
|
||||
ChatReactions MessagesManager::get_message_available_reactions(const Dialog *d, const Message *m,
|
||||
bool dissalow_custom_for_non_premium) {
|
||||
bool disallow_custom_for_non_premium) {
|
||||
CHECK(d != nullptr);
|
||||
CHECK(m != nullptr);
|
||||
auto active_reactions = get_message_active_reactions(d, m);
|
||||
@ -23913,7 +23913,7 @@ ChatReactions MessagesManager::get_message_available_reactions(const Dialog *d,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (dissalow_custom_for_non_premium && !td_->option_manager_->get_option_boolean("is_premium")) {
|
||||
if (disallow_custom_for_non_premium && !td_->option_manager_->get_option_boolean("is_premium")) {
|
||||
active_reactions.allow_custom_ = false;
|
||||
}
|
||||
return active_reactions;
|
||||
|
@ -2666,7 +2666,7 @@ class MessagesManager final : public Actor {
|
||||
void set_dialog_message_ttl(Dialog *d, MessageTtl message_ttl);
|
||||
|
||||
ChatReactions get_message_available_reactions(const Dialog *d, const Message *m,
|
||||
bool dissalow_custom_for_non_premium);
|
||||
bool disallow_custom_for_non_premium);
|
||||
|
||||
void set_message_reactions(Dialog *d, Message *m, bool is_big, bool add_to_recent, Promise<Unit> &&promise);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user