diff options
Diffstat (limited to 'src/eu/siacs/conversations/xmpp')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 5 |
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); } } |