summarylogtreecommitdiffstats
path: root/disable-custom-scheme-linux.patch
blob: 7f62374fd98129195e96480ba17b7b37c7ab5460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/Telegram/SourceFiles/pspecific_linux.cpp b/Telegram/SourceFiles/pspecific_linux.cpp
index 75c20c3..f127556 100644
--- a/Telegram/SourceFiles/pspecific_linux.cpp
+++ b/Telegram/SourceFiles/pspecific_linux.cpp
@@ -1123,6 +1123,7 @@ namespace {
 }
 
 void psRegisterCustomScheme() {
+    #if 0
     QString home(_psHomeDir());
     if (home.isEmpty()) return;
 
@@ -1207,6 +1208,7 @@ void psRegisterCustomScheme() {
             LOG(("App Error: Could not open '%1' for write").arg(file));
         }
     }
+    #endif
 }
 
 bool _execUpdater(bool update = true) {