From 3829ed5880a94d598b08226bc013a385e8f38b6c Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 16 Jan 2024 11:20:30 +0400 Subject: [PATCH] Fix build with Xcode. --- Telegram/SourceFiles/data/data_peer_values.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/data/data_peer_values.cpp b/Telegram/SourceFiles/data/data_peer_values.cpp index 7898f414f..874fa0ae7 100644 --- a/Telegram/SourceFiles/data/data_peer_values.cpp +++ b/Telegram/SourceFiles/data/data_peer_values.cpp @@ -228,7 +228,7 @@ inline auto DefaultRestrictionValue( : AmPremiumValue(&user->session()); }) | rpl::flatten_latest(); if (other) { - return std::move(allowedAny); + return allowedAny; } const auto mask = UserDataFlag::VoiceMessagesForbidden; return rpl::combine(