-
creat0r
Hello 👋
🤝 1 -
nicoco
New pubsub question dropped! AFAICT, a node metadata is "fetch-only" via disco#info, cf https://xmpp.org/extensions/xep-0060.html#entity-metadata I'd like to have a way to "push" updates of this form to subscribers, mostly to push updates of the name of a space.
-
nicoco
Wait, actually, there is "configuration" in the "event" schema https://xmpp.org/extensions/xep-0060.html#schemas-event So, I guess, pushing a name (or other metadata) to subscribers goes like this? There is no example, but I think this is it: ```xml <message from="server" to="subscriber@ex.org" type="headline"> <event xmlns='http://jabber.org/protocol/pubsub#event'> <configuration node='some-space-node' > <x xmlns='jabber:x:data' type='result'> <field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/protocol/pubsub#meta-data</value> </field> <field var='pubsub#title'> <value>Super cool new human-friendly name for this node</value> </field> .... ```
-
nicoco
ping edhelas and goffi again, hoping you don't get notifications for this MUC while you sleep 😬
-
goffi
nicoco: https://xmpp.org/extensions/xep-0060.html#owner-configure-process-notify
💘 1 -
nicoco
dammit, I couldn't find this example, thanks
-
nicoco
ok good, that's what I expected.
-
goffi
nicoco: it's not easy to find things in this big spec to be honest.
-
nicoco
well, I did find it in the schema, so that's something at least :)
-
goffi
🙂
-
nicoco
btw goffi let me know if you want a test account on my slidge instance to test your spaces implementation against ;)
-
goffi
Sure. Thanks
-
nicoco
(not deployed yet, but soonish we should have a beta)
-
nicoco
it's going to be "read-only" at first (no "owner", just "subscriber" use cases basically)