2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix dependent restrictions

This commit is contained in:
RadRussianRus
2021-04-29 05:21:32 +03:00
parent 5d9d10ab37
commit 650f126986

View File

@@ -182,9 +182,21 @@ auto Dependencies(ChatRestrictions)
{ Flag::f_send_stickers, Flag::f_send_messages },
*/
// embed_links -> send_media
// embed_links -> send_messages
{ Flag::f_embed_links, Flag::f_send_messages },
// send_games -> send_messages
{ Flag::f_send_games, Flag::f_send_messages },
// send_gifs -> send_messages
{ Flag::f_send_gifs, Flag::f_send_messages },
// send_inline -> send_messages
{ Flag::f_send_inline, Flag::f_send_messages },
// send_stickers -> send_messages
{ Flag::f_send_stickers, Flag::f_send_messages },
// send_media -> send_messages
{ Flag::f_send_media, Flag::f_send_messages },