MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / notifyPollUpdateDelayed

Method notifyPollUpdateDelayed

Telegram/SourceFiles/data/data_session.cpp:5100–5108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5098}
5099
5100void 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
5110void Session::notifyTodoListUpdateDelayed(not_null<TodoListData*> todolist) {
5111 const auto invoke = !hasPendingWebPageGamePollTodoListNotification();

Callers 3

closeByTimerMethod · 0.80
sendVotesMethod · 0.80
applyServiceChangesMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected