summarylogtreecommitdiffstats
path: root/Use-native-notifications-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Use-native-notifications-by-default.patch')
-rw-r--r--Use-native-notifications-by-default.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/Use-native-notifications-by-default.patch b/Use-native-notifications-by-default.patch
new file mode 100644
index 000000000000..4fe8f2ee3eec
--- /dev/null
+++ b/Use-native-notifications-by-default.patch
@@ -0,0 +1,13 @@
+diff --git a/Telegram/SourceFiles/facades.cpp b/Telegram/SourceFiles/facades.cpp
+index 7f1a9505b..9500a37ba 100644
+--- a/Telegram/SourceFiles/facades.cpp
++++ b/Telegram/SourceFiles/facades.cpp
+@@ -378,7 +378,7 @@ struct Data {
+ bool DesktopNotify = true;
+ bool RestoreSoundNotifyFromTray = false;
+ DBINotifyView NotifyView = dbinvShowPreview;
+- bool NativeNotifications = false;
++ bool NativeNotifications = Platform::IsLinux();
+ int NotificationsCount = 3;
+ Notify::ScreenCorner NotificationsCorner = Notify::ScreenCorner::BottomRight;
+ bool NotificationsDemoIsShown = false;