Remove time limit on channel posts editing.
GitOrigin-RevId: 033ba6c0622739e89721ab6f5a9ec4e3a178e866
This commit is contained in:
parent
b8c300b05b
commit
379bff13cb
@ -19462,6 +19462,9 @@ bool MessagesManager::can_edit_message(DialogId dialog_id, const Message *m, boo
|
|||||||
if (!channel_status.can_edit_messages() && !(channel_status.can_post_messages() && m->is_outgoing)) {
|
if (!channel_status.can_edit_messages() && !(channel_status.can_post_messages() && m->is_outgoing)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (channel_status.can_edit_messages()) {
|
||||||
|
has_edit_time_limit = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (is_bot && only_reply_markup) {
|
if (is_bot && only_reply_markup) {
|
||||||
has_edit_time_limit = false;
|
has_edit_time_limit = false;
|
||||||
|
Reference in New Issue
Block a user