Skip to content

Commit c3759d5

Browse files
committed
Use send_closure_later when adding call notification just in case.
1 parent b449204 commit c3759d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

td/telegram/CallActor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,8 @@ void CallActor::flush_call_state() {
851851
if (call_state_.type == CallState::Type::Pending) {
852852
if (!has_notification_) {
853853
has_notification_ = true;
854-
send_closure(G()->notification_manager(), &NotificationManager::add_call_notification,
855-
DialogId(call_admin_user_id_), local_call_id_);
854+
send_closure_later(G()->notification_manager(), &NotificationManager::add_call_notification,
855+
DialogId(call_admin_user_id_), local_call_id_);
856856
}
857857
} else {
858858
if (has_notification_) {

0 commit comments

Comments
 (0)