From 3299515b3655446e454f5c02594a1307e9814d3f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 26 Jan 2015 19:04:58 +0100 Subject: [PATCH] Make Roster.isRosterVersioningSupported public --- .../main/java/org/jivesoftware/smack/roster/Roster.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java index 3cf51bab3..17535ace0 100644 --- a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java +++ b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java @@ -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); }