Fix build and tray icon menu on Windows.

This commit is contained in:
John Preston
2021-01-22 16:16:18 +04:00
parent 2616659116
commit 574d915c23
16 changed files with 169 additions and 92 deletions
@@ -562,7 +562,7 @@ HistoryItem *ScheduledMessages::lastEditableMessage(
const auto it = ranges::find_if(items, std::move(proj));
return (it == end(items))
? nullptr
: history->owner().groups().findItemToEdit((*it).get());
: history->owner().groups().findItemToEdit((*it).get()).get();
}
} // namespace Data