Skip to content

Commit

Permalink
Fix available reactions check.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Oct 26, 2023
1 parent 87f7cdd commit c031818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/MessagesManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23735,7 +23735,7 @@ ChatReactions MessagesManager::get_message_available_reactions(const Dialog *d,
// can't use reactions if can't send messages to the group without joining
can_use_reactions = false;
} else if (is_anonymous_administrator(d->dialog_id, nullptr) && !is_broadcast_channel(d->dialog_id) &&
!!td_->contacts_manager_->get_channel_status(channel_id).is_creator()) {
!td_->contacts_manager_->get_channel_status(channel_id).is_creator()) {
// only creator can react as the chat
can_use_reactions = false;
}
Expand Down

0 comments on commit c031818

Please sign in to comment.