aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java
index 65d8a425..c3d70f3b 100644
--- a/src/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -948,6 +948,11 @@ public class XmppConnection implements Runnable {
} else {
++miss;
}
+ if (rosterVersioning()) {
+ ++hit;
+ } else {
+ ++miss;
+ }
return (int) (((float) hit) / (hit + miss) * 100);
}
}