summarylogtreecommitdiffstats
path: root/Use-native-notifications-by-default.patch
diff options
context:
space:
mode:
authorDmitry Porunov2019-12-05 19:05:32 +0000
committerDmitry Porunov2019-12-05 19:05:32 +0000
commitbdf25e954ba734a6ee2a25ba7cdfbe402cfcbcb2 (patch)
tree199fc6ce0fba97b9010b38fd5f002766d7634daa /Use-native-notifications-by-default.patch
parent7c293b0c667cf6a541f1b83574ff739146ded7c8 (diff)
downloadaur-bdf25e954ba734a6ee2a25ba7cdfbe402cfcbcb2.tar.gz
Release k1.1.1
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;