Przeglądaj źródła

More prosody optimisations to reduce battery and bandwidth use on mobile

Bob Mottram 8 lat temu
rodzic
commit
d0a14833e4
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/freedombone-app-xmpp

+ 2
- 0
src/freedombone-app-xmpp Wyświetl plik

@@ -588,6 +588,8 @@ function xmpp_modules {
588 588
     echo '  "http";' >> $filename
589 589
     echo '  "http_upload";' >> $filename
590 590
     echo '  "websocket";' >> $filename
591
+    echo '  "throttle_presence"; -- Reduce battery and bandwidth usage' >> $filename
592
+    echo '  "filter_chatstates"; -- Reduce battery and bandwidth usage' >> $filename
591 593
     echo '};' >> $filename
592 594
 }
593 595