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

Method processTodoList

Telegram/SourceFiles/data/data_session.cpp:4604–4614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4602}
4603
4604not_null<TodoListData*> Session::processTodoList(
4605 TodoListId id,
4606 const MTPTodoList &todolist) {
4607 const auto &data = todolist.data();
4608 const auto result = todoList(id);
4609 const auto changed = result->applyChanges(data);
4610 if (changed) {
4611 notifyTodoListUpdateDelayed(result);
4612 }
4613 return result;
4614}
4615
4616not_null<TodoListData*> Session::processTodoList(
4617 TodoListId id,

Callers 1

CreateMediaMethod · 0.80

Calls 3

applyCompletionsMethod · 0.80
dataMethod · 0.45
applyChangesMethod · 0.45

Tested by

no test coverage detected