diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp index 4501868428..6ec80aad11 100644 --- a/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp +++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp @@ -225,7 +225,6 @@ TextWithEntities GenerateBannedChangeText( ChatRestrictionsInfo newRights, ChatRestrictionsInfo prevRights) { using Flag = ChatRestriction; - using Flags = ChatRestrictions; auto newFlags = newRights.flags; auto newUntil = newRights.until; diff --git a/Telegram/SourceFiles/platform/linux/linux_gtk_integration_dummy.cpp b/Telegram/SourceFiles/platform/linux/linux_gtk_integration_dummy.cpp index 0c7f61d2bf..927a7119d2 100644 --- a/Telegram/SourceFiles/platform/linux/linux_gtk_integration_dummy.cpp +++ b/Telegram/SourceFiles/platform/linux/linux_gtk_integration_dummy.cpp @@ -41,7 +41,7 @@ QString GtkIntegration::AllowedBackends() { return {}; } -int GtkIntegration:Exec( +int GtkIntegration::Exec( Type type, const QString &parentDBusName, const QString &serviceName) { diff --git a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_scrubber_item.mm b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_scrubber_item.mm index 968b802a5d..adbf7e6ac8 100644 --- a/Telegram/SourceFiles/platform/mac/touchbar/items/mac_scrubber_item.mm +++ b/Telegram/SourceFiles/platform/mac/touchbar/items/mac_scrubber_item.mm @@ -179,7 +179,7 @@ bool CanWriteToActiveChat(not_null controller) { std::optional RestrictionToSendStickers(not_null peer) { return Data::RestrictionError( peer, - ChatRestriction::f_send_stickers); + ChatRestriction::SendStickers); } std::optional RestrictionToSendStickers(