mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
Make Roster.isRosterVersioningSupported public
This commit is contained in:
parent
7348e8bc8b
commit
3299515b36
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue