summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorTom Nichols <tmnichols@gmail.com>2010-07-13 17:14:38 -0400
committerTom Nichols <tmnichols@gmail.com>2010-07-13 17:14:38 -0400
commitad7c1b06f4622d094fc6e3cc42b61bdb63b858f6 (patch)
tree8b3e0c20cadfcd167c555625f856e1b6888a9eab /sleekxmpp/xmlstream
parent083ac3faaf6d3efb68b18a41ae9470ebbe57a90c (diff)
downloadslixmpp-ad7c1b06f4622d094fc6e3cc42b61bdb63b858f6.tar.gz
slixmpp-ad7c1b06f4622d094fc6e3cc42b61bdb63b858f6.tar.bz2
slixmpp-ad7c1b06f4622d094fc6e3cc42b61bdb63b858f6.tar.xz
slixmpp-ad7c1b06f4622d094fc6e3cc42b61bdb63b858f6.zip
XEP-0202 Entity Time plugin and fix for unused 'sid' parameter in StanzaBase.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/stanzabase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py
index b9267b88..c6174914 100644
--- a/sleekxmpp/xmlstream/stanzabase.py
+++ b/sleekxmpp/xmlstream/stanzabase.py
@@ -331,6 +331,7 @@ class StanzaBase(ElementBase):
self['to'] = sto
if sfrom is not None:
self['from'] = sfrom
+ if sid is not None: self['id'] = sid
self.tag = "{%s}%s" % (self.namespace, self.name)
def setType(self, value):