diff --git a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm index 0178ccd310..e032587e0e 100644 --- a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm +++ b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_pinned_chats_item.mm @@ -627,7 +627,7 @@ TimeId CalculateOnlineTill(not_null peer) { .index = index, .onlineTill = onlineTill }; return std::make_unique(std::move(pin)); - }); + }) | ranges::to_vector; _selfUnpinned = ranges::none_of(peers, &PeerData::isSelf); peerChangedLifetime->destroy(); diff --git a/Telegram/ThirdParty/range-v3 b/Telegram/ThirdParty/range-v3 index 4d6a463bca..2d606af5c7 160000 --- a/Telegram/ThirdParty/range-v3 +++ b/Telegram/ThirdParty/range-v3 @@ -1 +1 @@ -Subproject commit 4d6a463bca51bc316f9b565edd94e82388206093 +Subproject commit 2d606af5c71a47e91e095db20d8ba2d84a1ca113