summarylogtreecommitdiffstats
path: root/disable-custom-scheme-linux.patch
blob: c2298b9fdf3e74ba8f63414e7227b79364ab0527 (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 d0af098..1961d1f 100644
--- a/Telegram/SourceFiles/pspecific_linux.cpp
+++ b/Telegram/SourceFiles/pspecific_linux.cpp
@@ -1163,6 +1163,7 @@ namespace {
 }
 
 void psRegisterCustomScheme() {
+    #if 0
     QString home(_psHomeDir());
     if (home.isEmpty()) return;
 
@@ -1247,6 +1248,7 @@ void psRegisterCustomScheme() {
             LOG(("App Error: Could not open '%1' for write").arg(file));
         }
     }
+    #endif
 }
 
 bool _execUpdater(bool update = true) {