Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_xep_0363.py @ 4136:72b95cdc3432
plugin XEP-0363: fix headers setting
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 01 Nov 2023 13:55:34 +0100 |
parents | 4a8b29ab34c0 |
children | 0d7bb4df2343 |
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(