jdev - 2026-08-30


  1. nicoco

    pubsub question. i publish a new item in a node. when the pubsub service notifies subscriber, ie <https://xmpp.org/extensions/xep-0060.html#publisher-publish-success-withpayload>, should the notification message contain only the new item, or all items in that node?

  2. nicoco

    I would tend to think "only the new item", but I fail to find where this is explicitly explained. Also, I guess it's wasteful but not illegal to put all items in the pubsub#event payload, is it?

  3. lovetox

    publishing multiple items is not possible

  4. lovetox

    so why would we notify about items that were not published and also not changed

  5. lovetox

    https://xmpp.org/extensions/xep-0060.html#impl-notify

  6. lovetox

    > The entity is an authorized subscriber to the node (explicitly via subscription or implicitly based on a role of owner or publisher); when the publisher sends a publish request, the service sends the currently published item to the entity (subject to presence checks and notification filtering if appropriate).

  7. nicoco

    Thanks lovetox!

  8. nicoco

    Last published item only then.

  9. lovetox

    i think this was not made more explicit in the XEP because nobody thought this would be in question

  10. nicoco

    well, I am the idiot who implemented it differently then :). I'll fix that :P

  11. kuyuhi

    its never a question until it is 😔

  12. EggToast2

    Is there a XEP for embedding something like short preview of a music for the profile? Do VCard let you do that officially, even"

  13. dwd

    I don't know of one, sorry. Perhaps in the old profile XEP, but nobody really implemented that.

  14. theTedd

    > Is there a XEP for embedding something like short preview of a music for the profile? Do VCard let you do that officially, even" The closest match in VCard4 is 'sound' - but that's intended for a small recording of the correct name pronunciation. Is this for a myspace-style profile song?