Use provided stanza ID.

This commit is contained in:
Lance Stout 2012-04-25 13:55:46 -07:00
parent 4d89d26a1c
commit 2eeaf4d80c

View file

@ -1176,6 +1176,8 @@ 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 set_type(self, value):