plugin XEP-0277: fix await trigger incorrectly used on a sync trigger

This commit is contained in:
Goffi 2022-05-13 18:46:51 +02:00
commit 36eb09e53e

View file

@ -799,7 +799,7 @@ class XEP_0277(object):
}
# if other plugins need to change the options
await self.host.trigger.point("XEP-0277_comments", client, mb_data, options)
self.host.trigger.point("XEP-0277_comments", client, mb_data, options)
for comments_data in mb_data['comments']:
uri = comments_data.get('uri')