diff options
author | aearil <aearil@paranoici.org> | 2020-08-05 20:35:30 -0400 |
---|---|---|
committer | aearil <aearil@paranoici.org> | 2020-08-05 20:35:30 -0400 |
commit | f90713cb9e14b6b05903f570b598ea7f8050a37f (patch) | |
tree | b4f384e1db227c71a42254cd390a7fd81689d9f6 /examples/adhoc_provider.py | |
parent | 9b9ace97f498de8101588a598ca8849e53a9a882 (diff) | |
download | slixmpp-f90713cb9e14b6b05903f570b598ea7f8050a37f.tar.gz slixmpp-f90713cb9e14b6b05903f570b598ea7f8050a37f.tar.bz2 slixmpp-f90713cb9e14b6b05903f570b598ea7f8050a37f.tar.xz slixmpp-f90713cb9e14b6b05903f570b598ea7f8050a37f.zip |
Fix 'from' attribute missing for ComponentXMPP Disco IQ
Fixes #3455
This reuses the 'to' attribute of the received presence as a 'from' for
the Disco IQ. I don't know if this is the best way to do it, but in
testing with a simple component it fixed the error.
Also I'm not sure whether pres['to'] would also be valid when
is_component is False.
Diffstat (limited to 'examples/adhoc_provider.py')
0 files changed, 0 insertions, 0 deletions