| 4602 | } |
| 4603 | |
| 4604 | not_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 | |
| 4616 | not_null<TodoListData*> Session::processTodoList( |
| 4617 | TodoListId id, |
no test coverage detected