This commit is contained in:
PapaTutuWawa 2021-09-16 17:01:34 +02:00
parent 74d9e1ddc2
commit 963deb705a

View File

@ -261,6 +261,8 @@ class BridgeComponent(ComponentXMPP):
"url": message["oob"]["url"]
}]
self._logger.debug("Webhook: %s", str(webhook))
requests.post(self._webhooks[muc],
data=webhook,
headers={
@ -469,7 +471,8 @@ class BridgeComponent(ComponentXMPP):
muc,
resource)
else:
await self._avatars.aquire_avatar(presence["from"])
if self._relay_xmpp_avatars:
await self._avatars.aquire_avatar(presence["from"])
self._real_muc_users[muc].append(resource)
async def on_session_start(self, event):