tet
This commit is contained in:
parent
f4d413cd5e
commit
123f3b87e0
@ -205,10 +205,15 @@ class BridgeComponent(ComponentXMPP):
|
|||||||
webhook_url = webhook.url
|
webhook_url = webhook.url
|
||||||
self._webhooks[muc] = webhook_url
|
self._webhooks[muc] = webhook_url
|
||||||
|
|
||||||
|
# TODO: Check if we need to set it
|
||||||
# Make sure our virtual users can join
|
# Make sure our virtual users can join
|
||||||
affiliation_delta = [
|
affiliation_delta = [
|
||||||
(self.spoof_member_jid(member.id).bare, "member") for member in dchannel.members
|
(self.spoof_member_jid(member.id).bare, "member") for member in dchannel.members
|
||||||
]
|
]
|
||||||
|
|
||||||
|
for member in dchannel.members:
|
||||||
|
self._logger.debug("Member: %s", member.display_name)
|
||||||
|
|
||||||
await self.plugin["xep_0045"].send_affiliation_list(muc,
|
await self.plugin["xep_0045"].send_affiliation_list(muc,
|
||||||
affiliation_delta,
|
affiliation_delta,
|
||||||
ifrom=self._bot_jid_full)
|
ifrom=self._bot_jid_full)
|
||||||
|
Loading…
Reference in New Issue
Block a user