Fix MessageContentType::ChatSetTheme support.
This commit is contained in:
parent
c20fd1dd91
commit
abcfe46275
@ -338,6 +338,7 @@ bool DialogAction::is_canceled_by_message_of_type(MessageContentType message_con
|
||||
case MessageContentType::ProximityAlertTriggered:
|
||||
case MessageContentType::GroupCall:
|
||||
case MessageContentType::InviteToGroupCall:
|
||||
case MessageContentType::ChatSetTheme:
|
||||
return false;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
|
@ -24834,6 +24834,7 @@ bool MessagesManager::can_edit_message(DialogId dialog_id, const Message *m, boo
|
||||
case MessageContentType::ProximityAlertTriggered:
|
||||
case MessageContentType::GroupCall:
|
||||
case MessageContentType::InviteToGroupCall:
|
||||
case MessageContentType::ChatSetTheme:
|
||||
return false;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
|
Loading…
Reference in New Issue
Block a user