# HG changeset patch
# User Goffi <goffi@goffi.org>
# Date 1652460411 -7200
# Node ID e0ff2f277e13a438267c9f52fb5da3595efbbfb7
# Parent  74f436e856ff5ec87f72dafcd9429630f64b9617
plugin XEP-0277: fix `await` trigger incorrectly used on a sync trigger

diff -r 74f436e856ff -r e0ff2f277e13 sat/plugins/plugin_xep_0277.py
--- 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')