Run loop after toggled top chats just in case.

This commit is contained in:
levlam 2021-09-29 20:23:39 +03:00
parent 665ae9434e
commit 2d9b7a6e93

View File

@ -192,6 +192,7 @@ void TopDialogManager::on_toggle_top_peers(bool is_enabled, Result<Unit> &&resul
// let's resend the query forever
send_toggle_top_peers(is_enabled);
}
loop();
}
void TopDialogManager::on_dialog_used(TopDialogCategory category, DialogId dialog_id, int32 date) {