Disable chat actions for file uploads as chats.
This commit is contained in:
parent
a72d1c2639
commit
4c462789f1
@ -31458,7 +31458,9 @@ void MessagesManager::on_send_dialog_action_timeout(DialogId dialog_id) {
|
|||||||
if (m == nullptr) {
|
if (m == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m->forward_info != nullptr || m->had_forward_info || m->message_id.is_scheduled()) {
|
CHECK(m->message_id.is_yet_unsent());
|
||||||
|
if (m->forward_info != nullptr || m->had_forward_info || m->message_id.is_scheduled() ||
|
||||||
|
m->sender_dialog_id.is_valid()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user