added roster versioning to calculation of server compat

This commit is contained in:
iNPUTmice 2014-08-21 07:47:40 +02:00
parent 419c5e0657
commit 7808e5b77f

View File

@ -948,6 +948,11 @@ public class XmppConnection implements Runnable {
} else { } else {
++miss; ++miss;
} }
if (rosterVersioning()) {
++hit;
} else {
++miss;
}
return (int) (((float) hit) / (hit + miss) * 100); return (int) (((float) hit) / (hit + miss) * 100);
} }
} }