Do not send typings to channels.
GitOrigin-RevId: c66eb66d3149175114d05222e1cd92de9bc41430
This commit is contained in:
parent
888b0206ac
commit
a131af270a
@ -21753,6 +21753,10 @@ void MessagesManager::send_dialog_action(DialogId dialog_id, const tl_object_ptr
|
||||
return promise.set_error(can_send_status.move_as_error());
|
||||
}
|
||||
|
||||
if (is_broadcast_channel(dialog_id)) {
|
||||
return promise.set_value(Unit());
|
||||
}
|
||||
|
||||
if (dialog_id.get_type() == DialogType::SecretChat) {
|
||||
tl_object_ptr<secret_api::SendMessageAction> send_action;
|
||||
switch (action->get_id()) {
|
||||
|
Loading…
Reference in New Issue
Block a user