This commit is contained in:
PapaTutuWawa 2021-09-16 16:15:58 +02:00
parent c3e20ee3ef
commit 7042ff8c36

View File

@ -212,12 +212,15 @@ class BridgeComponent(ComponentXMPP):
]
for member in dchannel.members:
self._logger.debug("Member: %s", self.spoof_member_jid(member.id).bare)
await self.plugin["xep_0045"].send_affiliation_list(muc,
affiliation_delta,
await self.plugin["xep_0045"].set_affiliation(muc,
"member",
jid=self.spoof_member_jid(member.id).bare,
ifrom=self._bot_jid_full)
#await self.plugin["xep_0045"].send_affiliation_list(muc,
# affiliation_delta,
# ifrom=self._bot_jid_full)
for member in dchannel.members:
self.virtual_user_join_muc(muc, member, update_state_tracking=False)