jdev - 2025-01-16


  1. doge

    after announcing storage:bookmarks+notify in features, I get sent all my bookmarks upon every reconnect. Is that how that's supposed to be? I kind of thought it'd be smarter about it, like with roster ver for example

  2. lovetox

    Yes that's how it works

  3. lovetox

    But beware there are conditions under which you get nothing sent

  4. lovetox

    For example no item is published or the node does not exist

  5. lovetox

    And this only works for the old bookmark spec, for the new one you have to query at start all items

  6. Link Mauve

    There is also XEP-0312 as an optimisation, but that’s a pretty bad one imo.

  7. Link Mauve

    It also seems to have no implementation, probably due to that.

  8. lovetox

    If writing a new client there are probably higher priorities then micro optimizing the content of one stanza

  9. lovetox

    If writing a new client there are probably higher priorities than micro optimizing the content of one stanza

  10. singpolyma

    doge: is anyone using that anyway? I thought everyone either supported bookmarks2 or was on legacy bookmarks.

  11. wgreenhouse

    singpolyma: conversations family for example uses legacy bookmarks + notify

  12. singpolyma

    wgreenhouse: ? Legacy bookmarks doesn't support notify

  13. Zash

    Legacy bookmarks in PEP does, no?

  14. Zash

    Legacy bookmarks in Private XML wouldn't, of course

  15. Zash

    Why have one legacy when you can have two!

  16. singpolyma

    > Legacy bookmarks in PEP does, no? Yes PEP bookmarks does. But I didn't think that had any serious adoption

  17. Zash

    Non-zero adoption afaik

  18. Zash

    Hence why Prosody's mod_bookmarks supports all 3 variants

  19. doge

    > doge: is anyone using that anyway? I thought everyone either supported bookmarks2 or was on legacy bookmarks. idk I found bookmarks2 empty on my account on draugr.de which I use from dino and cheogram

  20. lovetox

    singpolyma, i think this is a misconception, there were years where all active clients supported pep bookmarks

  21. lovetox

    Gajim still supports that

  22. lovetox

    doge, if you implement bookmarks you should go for https://xmpp.org/extensions/xep-0402.html

  23. lovetox

    there are older bookmark standards, but there are server modules which take care of translating between them

  24. lovetox

    as a new client i would not implement multiple

  25. Zash

    Does ejabberd have some bookmarks unification compat thing?

  26. lovetox

    i hope so

  27. lovetox

    ah there i remember we only use 402 if the server announces the compat thing