Require ability to send stickers for dice.
GitOrigin-RevId: 61d61df0d56653d366ef82a86adb6e92046b8362
This commit is contained in:
parent
1e4c1f16b9
commit
3f6485fb39
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user