Fix misprint by @AYMENJD.
This commit is contained in:
parent
24893faf75
commit
4c1f6d6608
@ -3247,10 +3247,10 @@ void delete_message_content_thumbnail(MessageContent *content, Td *td) {
|
||||
}
|
||||
|
||||
Status can_send_message_content(DialogId dialog_id, const MessageContent *content, bool is_forward,
|
||||
bool check_premissions, const Td *td) {
|
||||
bool check_permissions, const Td *td) {
|
||||
auto dialog_type = dialog_id.get_type();
|
||||
RestrictedRights permissions = [&] {
|
||||
if (!check_premissions) {
|
||||
if (!check_permissions) {
|
||||
return RestrictedRights(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, ChannelType::Unknown);
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ tl_object_ptr<telegram_api::InputMedia> get_message_content_input_media_web_page
|
||||
void delete_message_content_thumbnail(MessageContent *content, Td *td);
|
||||
|
||||
Status can_send_message_content(DialogId dialog_id, const MessageContent *content, bool is_forward,
|
||||
bool check_premissions, const Td *td);
|
||||
bool check_permissions, const Td *td);
|
||||
|
||||
bool can_forward_message_content(const MessageContent *content);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user