diff sat_frontends/jp/cmd_pubsub.py @ 3757:5bda9d2e8b35

plugin XEP-0060: use serialised options in `psSubscribe` + triggers update
author Goffi <goffi@goffi.org>
date Fri, 13 May 2022 18:29:42 +0200
parents 0eacda79b5d1
children b7cef1b24f83
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_pubsub.py	Fri May 13 18:22:06 2022 +0200
+++ b/sat_frontends/jp/cmd_pubsub.py	Fri May 13 18:29:42 2022 +0200
@@ -1471,7 +1471,7 @@
             sub_id = await self.host.bridge.psSubscribe(
                 self.args.service,
                 self.args.node,
-                {},
+                data_format.serialise(options),
                 self.profile,
             )
         except Exception as e: