Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
This commit is contained in:
parent
ece4fd0e93
commit
76e363cbe9
@ -8454,7 +8454,7 @@ bool MessagesManager::can_delete_channel_message(DialogParticipantStatus status,
|
||||
|
||||
bool MessagesManager::can_revoke_message(DialogId dialog_id, const Message *m) const {
|
||||
if (m == nullptr) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
if (m->message_id.is_local()) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user