From cdf468a7c17913b8a3aa17e84ffff9110a090e0d Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 22 Mar 2020 14:01:47 +0100 Subject: [PATCH] plugin aesgcm: wait for each splitted message to be sent before sending next one --- sat/plugins/plugin_sec_aesgcm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_sec_aesgcm.py b/sat/plugins/plugin_sec_aesgcm.py index 773c2c37..453f2b5d 100644 --- a/sat/plugins/plugin_sec_aesgcm.py +++ b/sat/plugins/plugin_sec_aesgcm.py @@ -174,7 +174,7 @@ class AESGCM(object): for attachment in extra_attachments: # we send all remaining attachment in a separate message - client.sendMessage( + await client.sendMessage( to_jid=data['to'], message={'': ''}, subject=data['subject'],