2
0
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:
John Preston
2025-07-01 13:01:29 +04:00
parent 6e77126a65
commit bcd42dbb6a
6 changed files with 13 additions and 7 deletions

View File

@@ -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;
}