-
jhon black
hi
-
pep.
OMEMO question: when talking to somebody not in my roster, how do I get updates for their devicelist/bundles?
-
jonas’
does directed presence help?
-
jonas’
(although *they* would have to send directed presence to you)
-
pep.
How would that help me in knowing when something OMEMO-related has been changed?
-
jonas’
PEP is presence-based
-
jonas’
you’re subscribed as long as you receive presence
-
pep.
So if I have +notify and somebody sends me a directed presence and I also send one, I'd get PEP notifications?
-
jonas’
only they need to send you directed presence for you to get notifications
-
jonas’
that’s my rough understanding, I haven’t dug much into PEP
-
pep.
interesting
-
Zash
PEP doesn't work with directed presence AFAIK
-
pep.
less interesting
-
pep.
So I'd have to pull every so often?
-
Zash
IFF you have "PEP+", ie full blown pubsub, then you can subscribe manually
-
pep.
oh
-
pep.
I guess I can try that
-
Zash
I've looked at directed presence and PEP but it gets a bit complicated.
-
pep.
But then when do I unsubscribe
-
pep.
Do I ever unsubscribe
-
Zash
You should, yes, or you would be subscribed forever!
-
pep.
Is the subscription associated to the account? That is if I disconnect/reconnect it's still there?
-
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
-
pep.
How so
-
pep.
You could already subscribe manually
-
Zash
I mean for the default "presence" access model that normally limits access to your roster contacts
-
Zash
Directed presence and access_model=open might work
-
pep.
Yeah that's certainly enough for omemo at least.
-
pep.
I think implementations somewhat agreed to have access_model=open, right?
-
pep.
Even if that leaks the existence of the account
-
pep.
(but then vcard-temp already does that anyway?)
-
Zash
right
-
pep.
Is that specified somewhere? That a directed presence would give you PEP notifications?
-
Zash
Nope
-
Zash
Not that I know of
-
Zash
It makes some logical sense tho, at least for open nodes
-
pep.
Ok I'll send something on standards at least
-
jonas’
seems reasonable
-
Daniel
Are directed presence tracked and eventually followed by an unavailable once my session times out?
-
Zash
Yes