-
ankit
hi
-
ankit
Kev
-
anana
ankit
-
defanor
Is a roster item's 'jid' attribute required to be a bare JID? I'd think it is so, but failing to find where it is specified.
-
Ge0rG
defanor: it can't be a full jid, but it may be a domain jid
-
defanor
Ge0rG: Oh, makes sense. But still, is it specified somewhere, or just implied?
-
Ge0rG
defanor: I can't find anything in RFC6121
-
MattJ
I thought it was one of the things clarified in the bis RFCs :/
-
MattJ
There has been discussion about it previously
-
MattJ
You can't sensibly have a subscription to a full JID though, so it doesn't make sense in many ways
-
jonas’
MattJ, though it would allow to Auto-GC1.0-Join MUCs
-
Zash
Oh no
-
pep.
GC1 is a myth
-
jonas’
rightfully so
-
flow
MattJ> You can't sensibly have a subscription to a full JID though, but you can have a roster item without subscription, sooo…
-
flow
I think it is imporant when designing xmpp to think about and specific which types of JIDs are sensible and allowed at every place an xmpp address appears✎ -
Zash
Is the relevant text in the parts about subscription handling?
-
flow
I think it is imporant, when designing xmpp, to think about and specific which types of JIDs are sensible and allowed at every place an xmpp address appears ✏
-
Zash
https://xmpp.org/rfcs/rfc6121.html#sub > the server MUST stamp the outgoing presence stanza with the bare JID <localpart@domainpart> of the sending entity
-
Zash
https://xmpp.org/rfcs/rfc6121.html#sub-request-gen > When a user sends a presence subscription request [...], the value of the 'to' attribute MUST be a bare JID