mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Block forwarded todo lists.
This commit is contained in:
@@ -4178,10 +4178,7 @@ not_null<TodoListData*> Session::duplicateTodoList(
|
||||
const auto result = todoList(id);
|
||||
result->title = existing->title;
|
||||
result->items = existing->items;
|
||||
for (auto &item : result->items) {
|
||||
item.completedBy = nullptr;
|
||||
item.completionDate = TimeId();
|
||||
}
|
||||
++result->version;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user