Make Roster.isRosterVersioningSupported public

This commit is contained in:
Florian Schmaus 2015-01-26 19:04:58 +01:00
parent 7348e8bc8b
commit 3299515b36
1 changed files with 6 additions and 1 deletions

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);
}