comparison sat/plugins/plugin_exp_list_of_interest.py @ 3344:7515e1878004

plugin list of interest: fixed registerPubsub
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2020 22:54:42 +0200
parents 56ee491c0df6
children cc6164a4973b
comparison
equal deleted inserted replaced
3343:ec93feac0e74 3344:7515e1878004
134 if creator: 134 if creator:
135 pubsub_elt["creator"] = C.BOOL_TRUE 135 pubsub_elt["creator"] = C.BOOL_TRUE
136 if element is not None: 136 if element is not None:
137 pubsub_elt.addChild(element) 137 pubsub_elt.addChild(element)
138 uri_kwargs = { 138 uri_kwargs = {
139 "path": service, 139 "path": service.full(),
140 "node": node 140 "node": node
141 } 141 }
142 if item_id: 142 if item_id:
143 uri_kwargs['id'] = item_id 143 uri_kwargs['id'] = item_id
144 interest_uri = uri.buildXMPPUri("pubsub", **uri_kwargs) 144 interest_uri = uri.buildXMPPUri("pubsub", **uri_kwargs)