From d0a14833e445af3148edaf94892c203f0d592a37 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 May 2017 10:34:58 +0100 Subject: [PATCH] More prosody optimisations to reduce battery and bandwidth use on mobile --- src/freedombone-app-xmpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index a845733f..dd59b66c 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -588,6 +588,8 @@ function xmpp_modules { echo ' "http";' >> $filename echo ' "http_upload";' >> $filename echo ' "websocket";' >> $filename + echo ' "throttle_presence"; -- Reduce battery and bandwidth usage' >> $filename + echo ' "filter_chatstates"; -- Reduce battery and bandwidth usage' >> $filename echo '};' >> $filename }