Use provided stanza ID.
This commit is contained in:
parent
4d89d26a1c
commit
2eeaf4d80c
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue