1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 04:22:05 +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); return connection().hasFeature(RosterVer.ELEMENT, RosterVer.NAMESPACE);
} }