Explorar el Código

More prosody optimisations to reduce battery and bandwidth use on mobile

Bob Mottram hace 8 años
padre
commit
d0a14833e4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/freedombone-app-xmpp

+ 2
- 0
src/freedombone-app-xmpp Ver fichero

588
     echo '  "http";' >> $filename
588
     echo '  "http";' >> $filename
589
     echo '  "http_upload";' >> $filename
589
     echo '  "http_upload";' >> $filename
590
     echo '  "websocket";' >> $filename
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
     echo '};' >> $filename
593
     echo '};' >> $filename
592
 }
594
 }
593
 
595