mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
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 {
|
} else {
|
||||||
++miss;
|
++miss;
|
||||||
}
|
}
|
||||||
|
if (rosterVersioning()) {
|
||||||
|
++hit;
|
||||||
|
} else {
|
||||||
|
++miss;
|
||||||
|
}
|
||||||
return (int) (((float) hit) / (hit + miss) * 100);
|
return (int) (((float) hit) / (hit + miss) * 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user