jdev - 2019-08-24


  1. jhon black

    hi

  2. pep.

    OMEMO question: when talking to somebody not in my roster, how do I get updates for their devicelist/bundles?

  3. jonas’

    does directed presence help?

  4. jonas’

    (although *they* would have to send directed presence to you)

  5. pep.

    How would that help me in knowing when something OMEMO-related has been changed?

  6. jonas’

    PEP is presence-based

  7. jonas’

    you’re subscribed as long as you receive presence

  8. pep.

    So if I have +notify and somebody sends me a directed presence and I also send one, I'd get PEP notifications?

  9. jonas’

    only they need to send you directed presence for you to get notifications

  10. jonas’

    that’s my rough understanding, I haven’t dug much into PEP

  11. pep.

    interesting

  12. Zash

    PEP doesn't work with directed presence AFAIK

  13. pep.

    less interesting

  14. pep.

    So I'd have to pull every so often?

  15. Zash

    IFF you have "PEP+", ie full blown pubsub, then you can subscribe manually

  16. pep.

    oh

  17. pep.

    I guess I can try that

  18. Zash

    I've looked at directed presence and PEP but it gets a bit complicated.

  19. pep.

    But then when do I unsubscribe

  20. pep.

    Do I ever unsubscribe

  21. Zash

    You should, yes, or you would be subscribed forever!

  22. pep.

    Is the subscription associated to the account? That is if I disconnect/reconnect it's still there?

  23. Zash

    Anyways, if directed presence gave you PEP read access, that would solve some PEP-in-MUC issues, but at the same time probably give more open access than what one normally wants

  24. pep.

    How so

  25. pep.

    You could already subscribe manually

  26. Zash

    I mean for the default "presence" access model that normally limits access to your roster contacts

  27. Zash

    Directed presence and access_model=open might work

  28. pep.

    Yeah that's certainly enough for omemo at least.

  29. pep.

    I think implementations somewhat agreed to have access_model=open, right?

  30. pep.

    Even if that leaks the existence of the account

  31. pep.

    (but then vcard-temp already does that anyway?)

  32. Zash

    right

  33. pep.

    Is that specified somewhere? That a directed presence would give you PEP notifications?

  34. Zash

    Nope

  35. Zash

    Not that I know of

  36. Zash

    It makes some logical sense tho, at least for open nodes

  37. pep.

    Ok I'll send something on standards at least

  38. jonas’

    seems reasonable

  39. Daniel

    Are directed presence tracked and eventually followed by an unavailable once my session times out?

  40. Zash

    Yes