Allow to send games to broadcast channels (still doesn't allowed by server).

GitOrigin-RevId: cf9850b27ef5860b38f97934aebf655b5ed013f6
This commit is contained in:
levlam 2019-04-02 01:47:02 +03:00
parent 693157eeb4
commit 1d4b1570ad

View File

@ -15310,7 +15310,7 @@ Status MessagesManager::can_send_message_content(DialogId dialog_id, const Messa
case DialogType::Channel: {
auto channel_type = td_->contacts_manager_->get_channel_type(dialog_id.get_channel_id());
if (channel_type == ChannelType::Broadcast) {
return Status::Error(400, "Games can't be sent to channel chats");
// return Status::Error(400, "Games can't be sent to channel chats");
}
break;
}