added roster versioning to calculation of server compat
This commit is contained in:
parent
419c5e0657
commit
7808e5b77f
|
@ -948,6 +948,11 @@ public class XmppConnection implements Runnable {
|
|||
} else {
|
||||
++miss;
|
||||
}
|
||||
if (rosterVersioning()) {
|
||||
++hit;
|
||||
} else {
|
||||
++miss;
|
||||
}
|
||||
return (int) (((float) hit) / (hit + miss) * 100);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue