XEP-0405: Fix a bug in nodes returned by join_channel
Yay tests!
This commit is contained in:
parent
059cb290d8
commit
f12b04bd0b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue