XEP-0047: announce the correct stanza type if message is selected.
This commit is contained in:
parent
990113f8e7
commit
ce085bf4f4
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class XEP_0047(BasePlugin):
|
|||
iq['from'] = ifrom
|
||||
iq['ibb_open']['block_size'] = block_size
|
||||
iq['ibb_open']['sid'] = sid
|
||||
iq['ibb_open']['stanza'] = 'iq'
|
||||
iq['ibb_open']['stanza'] = 'message' if use_messages else 'iq'
|
||||
|
||||
stream = IBBytestream(self.xmpp, sid, block_size,
|
||||
iq['from'], iq['to'], window,
|
||||
|
|
Loading…
Reference in a new issue