| 5098 | } |
| 5099 | |
| 5100 | void Session::notifyPollUpdateDelayed(not_null<PollData*> poll) { |
| 5101 | const auto invoke = !hasPendingWebPageGamePollTodoListNotification(); |
| 5102 | _pollsUpdated.insert(poll); |
| 5103 | if (invoke) { |
| 5104 | crl::on_main(_session, [=] { |
| 5105 | sendWebPageGamePollTodoListNotifications(); |
| 5106 | }); |
| 5107 | } |
| 5108 | } |
| 5109 | |
| 5110 | void Session::notifyTodoListUpdateDelayed(not_null<TodoListData*> todolist) { |
| 5111 | const auto invoke = !hasPendingWebPageGamePollTodoListNotification(); |
no test coverage detected