mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Fix PubSub Affiliation getElementName()
must return 'affiliation', not 'subscription'. Fixes SMACK-705.
This commit is contained in:
parent
6739b74ff9
commit
3c74ef2fd2
1 changed files with 3 additions and 1 deletions
|
@ -31,6 +31,8 @@ import org.jivesoftware.smack.packet.ExtensionElement;
|
|||
*/
|
||||
public class Affiliation implements ExtensionElement
|
||||
{
|
||||
public static final String ELEMENT = "affiliation";
|
||||
|
||||
protected String node;
|
||||
protected Type type;
|
||||
|
||||
|
@ -63,7 +65,7 @@ public class Affiliation implements ExtensionElement
|
|||
|
||||
public String getElementName()
|
||||
{
|
||||
return "subscription";
|
||||
return ELEMENT;
|
||||
}
|
||||
|
||||
public String getNamespace()
|
||||
|
|
Loading…
Reference in a new issue