changeset 3761:e0ff2f277e13

plugin XEP-0277: fix `await` trigger incorrectly used on a sync trigger
author Goffi <goffi@goffi.org>
date Fri, 13 May 2022 18:46:51 +0200
parents 74f436e856ff
children becd7f1aa033
files sat/plugins/plugin_xep_0277.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0277.py	Fri May 13 18:44:54 2022 +0200
+++ b/sat/plugins/plugin_xep_0277.py	Fri May 13 18:46:51 2022 +0200
@@ -799,7 +799,7 @@
         }
 
         # 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')