Require ability to send stickers for dice.

GitOrigin-RevId: 61d61df0d56653d366ef82a86adb6e92046b8362
This commit is contained in:
levlam 2020-04-04 02:45:36 +03:00
parent 1e4c1f16b9
commit 3f6485fb39

View File

@ -18032,7 +18032,7 @@ Status MessagesManager::can_send_message_content(DialogId dialog_id, const Messa
}
break;
case MessageContentType::Dice:
if (!can_send_messages) {
if (!can_send_stickers) {
return Status::Error(400, "Not enough rights to send dice to the chat");
}
break;