summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/iq.py1
-rw-r--r--sleekxmpp/stanza/message.py1
-rw-r--r--sleekxmpp/stanza/presence.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py
index 8d91c83e..4969b703 100644
--- a/sleekxmpp/stanza/iq.py
+++ b/sleekxmpp/stanza/iq.py
@@ -16,6 +16,7 @@ class Iq(RootStanza):
interfaces = set(('type', 'to', 'from', 'id','query'))
types = set(('get', 'result', 'set', 'error'))
name = 'iq'
+ plugin_attrib = name
namespace = 'jabber:client'
def __init__(self, *args, **kwargs):
diff --git a/sleekxmpp/stanza/message.py b/sleekxmpp/stanza/message.py
index 9c2bf30e..38341809 100644
--- a/sleekxmpp/stanza/message.py
+++ b/sleekxmpp/stanza/message.py
@@ -15,6 +15,7 @@ class Message(RootStanza):
types = set((None, 'normal', 'chat', 'headline', 'error', 'groupchat'))
sub_interfaces = set(('body', 'subject'))
name = 'message'
+ plugin_attrib = name
namespace = 'jabber:client'
def getType(self):
diff --git a/sleekxmpp/stanza/presence.py b/sleekxmpp/stanza/presence.py
index 55f4047f..c66246c9 100644
--- a/sleekxmpp/stanza/presence.py
+++ b/sleekxmpp/stanza/presence.py
@@ -16,6 +16,7 @@ class Presence(RootStanza):
showtypes = set(('dnd', 'chat', 'xa', 'away'))
sub_interfaces = set(('status', 'priority'))
name = 'presence'
+ plugin_attrib = name
namespace = 'jabber:client'
def getShowElement(self):