b
This commit is contained in:
parent
74d9e1ddc2
commit
963deb705a
@ -261,6 +261,8 @@ class BridgeComponent(ComponentXMPP):
|
|||||||
"url": message["oob"]["url"]
|
"url": message["oob"]["url"]
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
self._logger.debug("Webhook: %s", str(webhook))
|
||||||
|
|
||||||
requests.post(self._webhooks[muc],
|
requests.post(self._webhooks[muc],
|
||||||
data=webhook,
|
data=webhook,
|
||||||
headers={
|
headers={
|
||||||
@ -469,7 +471,8 @@ class BridgeComponent(ComponentXMPP):
|
|||||||
muc,
|
muc,
|
||||||
resource)
|
resource)
|
||||||
else:
|
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)
|
self._real_muc_users[muc].append(resource)
|
||||||
|
|
||||||
async def on_session_start(self, event):
|
async def on_session_start(self, event):
|
||||||
|
Loading…
Reference in New Issue
Block a user