when receiving a presence subscription without a roster entry existing, the server does *not* create a roster entry as per RFC 6121 § 3.1.3:
> Security Warning: Until and unless the contact approves the subscription request as described under Section 3.1.4, the contact's server MUST NOT add an item for the user to the contact's roster.
To deny a subscription request, a client uses the flow described in RFC 6121 § 3.2.1+:
> If a contact would like to […] deny a subscription request, it sends a presence stanza of type "unsubscribed".
Later on in § 3.2.2:
> The contact's server then MUST send a roster push with the updated roster item to all of the contact's interested resources, where the subscription state is now either "none" or "to" (see Appendix A).
Two questions:
1. This seems inconsistent, because there is no roster item as per § 3.1.3. Am I wrong/missing something?
2. How, if at all, are other resources of the *rejecting* user informed about the fact that the subscription request was rejected?
Kev
By the roster push.
jonasw
the roster push for the non-existent item?
Kev
:)
Zash
wat
jonasw
this would effectively create an item
jonasw
because subscription="none" is perfectly valid for a roster item
skipping the roster push is the right thing™ imo (as I said above), but this means there’s no way for resources to know when the subscription request has been denied
jonasw
except by reconnecting and not receiving the type="subscribe" again
jonasw
"meh"
Ge0rGhas left
marchas left
flow
jonasw, write a XEP that will forward the unsubscribe presence to the other resources of the client
jonasw
flow, so you’d forward a stanza with @to not equal to the clients address to the client?
flow
I think that would be the first use case where there is a presence in <forwarded/>
jonasw
what would be the outer thing? message?
flow
yep, and a special extension element
jonasw
hurr-durr
flow
cause onions and their layers are cool
jonaswhas joined
rishiraj22has left
rainslidehas left
Ge0rGhas left
marchas joined
j.rhas left
j.rhas joined
SamWhitedhas left
SamWhitedhas joined
Holgerhas left
la|r|mahas joined
Zashhas left
Ge0rGhas left
jerehas joined
j.rhas left
j.rhas joined
Ge0rGhas left
nycohas left
Zashhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Ge0rGhas left
lorddavidiiihas left
andyhas left
pep.has left
Ge0rGhas left
jonasw
so XEP-0045 apparently suggests to put full JIDs in MUC occupant <item/> info things (e.g. <presence><x><item jid=".../foo"/></x></presence>). do servers include multiple items if multiple resources are connected?
MattJ
Prosody picks one at random
jonasw
right
jonasw
going ahead with the plan of dropping that on the client
MattJ
Dropping the real JID?
jonasw
no, dropping the resource
MattJ
Dropping the resource?
jonasw
(from the real JID)
MattJ
Yeah
MattJ
Resources shouldn't be seen by users anyway :)
jonasw
it breaks my understanding of aioxmpp’s APIs (which is a weird thing to say as the main dev)
jonasw
this is not about end-users, but about library users
jonasw
*shrug* if they want that information they have to sniff the presence stanzas :)
MattJ
+1
lskdjfhas joined
MattJ
I don't expect much would break if we just made it the bare JID on the server
MattJ
But not sure I can be bothered to find out
jonaswhas joined
rishiraj22has left
j.rhas joined
daniel
Conversations actually utilizes the full jid
daniel
Because some servers still don't include 110 and then being able to match the full jid is a nice fall back
MattJ
:/
jonasw
I refuse to interoperate with those servers.
jonasw
*sigh*
jonasw
daniel, do you have statistics how often that occurs and which software versions are affected?
Guushas left
daniel
Having metrics in Conversations for every time one of my many fun little work around gets triggered would be pretty cool
daniel
But my audience hates metrics
daniel
So no
jonasw
do you happen to know the server which caused you to write the workaround?
jonasw
I wonder whether I could add scans for such things to muclumbus
j.rhas joined
daniel
Well there is definitely more than one. Because 110 is a late addition to 45 AFAIK.
daniel
There are some servers which don't include it in all circumstances
Ge0rGhas left
daniel
I think ejabberd community didn't include it in error stanzas up until a while ago
daniel
Ejabberd SaaS doesn't include it in affiliation changes
muppeth
nyco: about swag. I started a project called aptgetshirt.com while back where we produce (print) shirts and donate 50% of profit to projects. We use water based inks and fair trade (organic) garment as oppose to slave labor zazzle and alike. We thought of running xmpp shirt campaign somewhere around november, since you guys are looking for something we could work together on that. We also start slowly with stickers too.
alacerhas left
alacerhas joined
la|r|mahas joined
marmistrzhas left
Ge0rGhas left
marmistrzhas joined
danielhas left
MattJ
muppeth, sounds great!
nyco
Thanks alot @muppeth
SamWhitedhas left
SaltyBoneshas left
SaltyBoneshas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
kasper.dementhas joined
danielhas left
Ge0rGhas left
karphas left
karphas joined
Ge0rGhas left
lovetoxhas joined
Zashhas joined
marmistrzhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Ge0rGhas left
blablahas left
blablahas left
blablahas joined
MattJ
<number>102</number>
<stanza>message</stanza>
<context>Configuration change</context>
<purpose>
Inform occupants that room now shows unavailable members
</purpose>
MattJ
What
jonaswhas left
ThibGhas joined
ThibGhas joined
karphas joined
mrdoctorwhohas joined
rishiraj22has left
marmistrzhas joined
Ge0rGhas left
rishiraj22has left
blablahas left
Dave Cridlandhas left
Dave Cridlandhas joined
Valerianhas left
Valerianhas joined
Valerianhas left
rishiraj22has left
Ge0rGhas left
Guushas left
Guushas joined
waqashas joined
Zashhas left
marmistrzhas left
marmistrzhas joined
la|r|mahas joined
jubalhhas joined
rishiraj22has left
Ge0rGhas left
tuxhas joined
Andrew Nenakhovhas left
ralphmhas left
ralphmhas joined
marchas left
ralphmhas left
Guushas left
Guushas joined
Ge0rGhas left
winfriedhas left
Guushas left
Guushas joined
Dave Cridlandhas left
Dave Cridlandhas joined
lskdjfhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
bearhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
labdsfhas left
Ge0rGhas left
efrithas joined
valohas joined
efrithas left
efrithas joined
Lancehas joined
Andrew Nenakhovhas joined
rishiraj22has left
labdsfhas joined
labdsfhas left
labdsfhas joined
la|r|mahas joined
lskdjfhas joined
Guushas left
Guushas joined
Dave Cridlandhas left
Dave Cridlandhas joined
jerehas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
efrithas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
labdsfhas left
marchas joined
jerehas joined
alexishas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
ralphmhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
SamWhitedhas left
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
rishiraj22has left
jubalhhas left
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
marchas left
Ge0rGhas left
waqashas left
waqashas joined
lovetoxhas joined
winfriedhas joined
danielhas left
winfriedhas left
winfriedhas left
danielhas left
winfriedhas left
tuxhas left
tahas joined
Lancehas left
la|r|mahas left
la|r|mahas joined
winfriedhas joined
Ge0rGhas left
jubalhhas joined
danielhas left
danielhas left
winfriedhas joined
Lancehas joined
labdsfhas joined
Tobiashas joined
Tobiashas joined
Yagizahas left
Ge0rGhas left
jerehas joined
moparisthebesthas joined
labdsfhas left
moparisthebesthas joined
alacerhas left
alacerhas joined
muppeth
MattJ, nyco: i'll get back to you once we are properly up and running. currently we just re-launched the webshop and selling old stock, plus setting up our own silkscreen studio to cut the costs and be able to produce smaller batches on demand. My jid is muppeth@disroot.org
moparisthebesthas joined
danielhas left
jerehas joined
danielhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
jubalhhas joined
rishiraj22has left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
rishiraj22has left
Yagizahas joined
labdsfhas joined
SamWhitedhas left
Ge0rGhas left
labdsfhas left
labdsfhas joined
labdsfhas left
labdsfhas joined
tahas joined
ralphmhas left
labdsfhas left
labdsfhas joined
labdsfhas left
labdsfhas joined
ralphmhas joined
labdsfhas left
labdsfhas joined
rishiraj22has left
Ge0rGhas left
rishiraj22has left
Tobiashas left
Tobiashas joined
Tobiashas left
Tobiashas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Ge0rGhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
marchas joined
danielhas left
jubalhhas left
MattJhas left
pep.
Am I the only one seeing 404.city stuck typing?
MattJ
You are not
Ge0rGhas left
lskdjfhas left
marchas left
Lancehas left
Dave Cridlandhas left
Dave Cridlandhas joined
lskdjfhas joined
lskdjfhas left
404.city
pep., I fell asleep by putting the phone on the key