mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-15 07:21:08 +01:00
Merge branch '4.0'
Also slightly improve OfflineMessageManager.getMessages() Conflicts: build.gradle smack-extensions/src/main/java/org/jivesoftware/smackx/offline/OfflineMessageManager.java
This commit is contained in:
commit
92a6d01507
12 changed files with 123 additions and 46 deletions
|
|
@ -577,12 +577,23 @@ public class ConfigureForm extends Form
|
|||
* Determines if subscriptions are allowed.
|
||||
*
|
||||
* @return true if subscriptions are allowed, false otherwise
|
||||
* @deprecated use {@link #isSubscribe()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isSubscibe()
|
||||
{
|
||||
return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe));
|
||||
return isSubscribe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if subscriptions are allowed.
|
||||
*
|
||||
* @return true if subscriptions are allowed, false otherwise
|
||||
*/
|
||||
public boolean isSubscribe() {
|
||||
return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe));
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether subscriptions are allowed.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue