changeset 4136:72b95cdc3432

plugin XEP-0363: fix headers setting
author Goffi <goffi@goffi.org>
date Wed, 01 Nov 2023 13:55:34 +0100
parents 646b328b3980
children 10979b5c305a
files libervia/backend/plugins/plugin_xep_0363.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0363.py	Wed Oct 18 15:33:46 2023 +0200
+++ b/libervia/backend/plugins/plugin_xep_0363.py	Wed Nov 01 13:55:34 2023 +0100
@@ -232,7 +232,7 @@
             for name, value in slot.headers:
                 name = name.encode('utf-8')
                 value = value.encode('utf-8')
-                headers[name] = value
+                headers[name] = [value]
 
 
             await self.host.trigger.async_point(