Skip to content

Commit

Permalink
Merge pull request #498 from pstros/remove-content-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ibauersachs committed Jun 27, 2018
2 parents 44d7b56 + 95fec28 commit 5f26de0
Showing 1 changed file with 3 additions and 8 deletions.
Expand Up @@ -34,11 +34,6 @@ public class ContentPacketExtension extends AbstractPacketExtension
*/
public static final String ELEMENT_NAME = "content";

/**
* The namespace of the "content" element
*/
public static final String NAMESPACE = "urn:xmpp:jingle:1";

/**
* The name of the "creator" argument.
*/
Expand Down Expand Up @@ -109,7 +104,7 @@ public static enum SendersEnum
*/
public ContentPacketExtension()
{
super(NAMESPACE, ELEMENT_NAME);
super(null, ELEMENT_NAME);
}

/**
Expand All @@ -128,7 +123,7 @@ public ContentPacketExtension(CreatorEnum creator,
String name,
SendersEnum senders)
{
super(NAMESPACE, ELEMENT_NAME);
super(null, ELEMENT_NAME);
super.setAttribute(CREATOR_ATTR_NAME, creator);
super.setAttribute(DISPOSITION_ATTR_NAME, disposition);
super.setAttribute(NAME_ATTR_NAME, name);
Expand All @@ -146,7 +141,7 @@ public ContentPacketExtension(CreatorEnum creator,
*/
public ContentPacketExtension(CreatorEnum creator, String name)
{
super(NAMESPACE, ELEMENT_NAME);
super(null, ELEMENT_NAME);
super.setAttribute(CREATOR_ATTR_NAME, creator);
super.setAttribute(NAME_ATTR_NAME, name);
}
Expand Down

0 comments on commit 5f26de0

Please sign in to comment.