1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Make Roster.isRosterVersioningSupported public

This commit is contained in:
Florian Schmaus 2015-01-26 19:04:58 +01:00
parent 7348e8bc8b
commit 3299515b36

View file

@ -1077,7 +1077,12 @@ public class Roster extends Manager {
}
}
private boolean isRosterVersioningSupported() {
/**
* Check if the server supports roster versioning.
*
* @return true if the server supports roster versioning, false otherwise.
*/
public boolean isRosterVersioningSupported() {
return connection().hasFeature(RosterVer.ELEMENT, RosterVer.NAMESPACE);
}