summaryrefslogtreecommitdiff
path: root/slixmpp
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-27 12:53:43 +0100
committermathieui <mathieui@mathieui.net>2021-02-27 13:21:13 +0100
commitf12b04bd0ba1de9ebd21ea8168b7bfcfed2dff8e (patch)
treec20716f11d687c1c3a2e71d23e5280480f793148 /slixmpp
parent059cb290d8ae567ef189d83c45a1e38b1f3ab9dc (diff)
downloadslixmpp-f12b04bd0ba1de9ebd21ea8168b7bfcfed2dff8e.tar.gz
slixmpp-f12b04bd0ba1de9ebd21ea8168b7bfcfed2dff8e.tar.bz2
slixmpp-f12b04bd0ba1de9ebd21ea8168b7bfcfed2dff8e.tar.xz
slixmpp-f12b04bd0ba1de9ebd21ea8168b7bfcfed2dff8e.zip
XEP-0405: Fix a bug in nodes returned by join_channel
Yay tests!
Diffstat (limited to 'slixmpp')
-rw-r--r--slixmpp/plugins/xep_0405/mix_pam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0405/mix_pam.py b/slixmpp/plugins/xep_0405/mix_pam.py
index 2b132526..7d87158e 100644
--- a/slixmpp/plugins/xep_0405/mix_pam.py
+++ b/slixmpp/plugins/xep_0405/mix_pam.py
@@ -70,7 +70,7 @@ class XEP_0405(BasePlugin):
iq['client_join']['mix_join'].append(sub)
result = await iq.send(**iqkwargs)
result_nodes = {sub['node'] for sub in result['client_join']['mix_join']}
- return result_nodes.difference(subscribe)
+ return subscribe.difference(result_nodes)
async def leave_channel(self, room: JID, *,
ito: Optional[JID] = None,