-
lovetox
What about this https://xmpp.org/extensions/xep-0421.html
-
lovetox
Does anyone implement this, can we advance this?
-
MattJ
lovetox: yes, Prosody does
-
flow
MattJ, one minor nit: please consider using 'true' instead of '1' in examples for boolean attribute values. It makes the examples more readable
-
MattJ
I'd wager that leads to developers only supporting 'true' in implementations 🙂
-
pep.
Something something examples aren't normative, same as schemas :x
-
flow
MattJ, the same could be said with '1'
-
MattJ
Sure, but not of mixing it up between examples
-
pep.
https://xmpp.org/extensions/xep-0463.html#errors I was re-reading this spec and I'm thinking this should indicate that the error is about affiliations
-
pep.
or it @type='auth' enough? :/
-
pep.
hmm, or maybe not. It's not like it can happen at any time, can it? It'll happen before presence broadcast at join and.. that's it?
-
pep.
(And there it should be pretty obvious that it's about affiliations?)
-
pep.
https://xmpp.org/extensions/xep-0463.html#self « There can be no empty diff but there can be empty full reponses (no affiliations). » What did I mean here again..
-
Kev
> I'd wager that leads to developers only supporting 'true' in implementations 🙂 Bit of JavaScript that parses the examples and renders booleans differently each time? :)
-
pep.
file:///home/ppjet/Src/xeps/build/xep-0463.html#errors should an error here prevent the join even?
-
pep.
oops, link
-
pep.
https://xmpp.org/extensions/xep-0463.html#errors
-
pep.
Wasn't there something about errors from the MUC also kicking users out?
- pep. greps 0045
-
pep.
Anybody implementing this spec btw? Or planning to?
-
singpolyma
From 0045: > If an occupant wants to send an IQ stanza to another user in a semi-anonymous room, the sender can direct the stanza to the recipient's occupant JID and the service SHOULD forward the stanza to the recipient's real JID. What resource should the IQ be sent to? Or is it sent to the base JID that is joined?✎ -
singpolyma
From 0045: > If an occupant wants to send an IQ stanza to another user in a semi-anonymous room, the sender can direct the stanza to the recipient's occupant JID and the service SHOULD forward the stanza to the recipient's real JID. What resource should the IQ be sent to? Or is it sent to the bare JID that is joined? ✏
-
flow
singpolyma, that part of xep45 was written before multi session nicks where a thing. I could imagine that modernxmpp has something about this. the IQ should never be send to the bare JDI✎ -
flow
singpolyma, that part of xep45 was written before multi session nicks where a thing. I could imagine that modernxmpp has something about this. the IQ should never be send to the bare JID ✏
-
singpolyma
flow: well, since probably the most common iq would be for avatar fetch then to bare JID is what I would guess is being done in practise. But I'm not sure
-
pep.
From jdev@ two days ago: MattJ> pep.: I think Prosody stores all [presences of a participant], one is randomly selected as the session leader, and a new leader is selected if it leaves
-
pep.
That is, the iq is directed to the session leader
-
pep.
We were talking about presences but I guess this "leader" is also used for iq
-
lovetox
avatar was the main use case for this, a much better solution is to send the iq to translate the avatar request into a pubsub request to the bare jid
-
lovetox
no client can depend on getting the correct info if its info that is different per resource
-
lovetox
you cant address a specific resource of the user
-
lovetox
and if you get something back it would be very random and could change any minute
-
singpolyma
pep.: Ok, so at least in prosody the iq is sent to one of the resources, you don't know which one
-
singpolyma
The reason I am asking is because I am implementing bits of binary and was thinking through what would even happen in a MUC use
-
singpolyma
So I guess with only one resource joined it would work, but otherwise might just randomly fail
-
pep.
While in 0045: « A MUC service MUST include the MUC extensions even if the client did not send an empty <x/> element qualified by the 'http://jabber.org/protocol/muc' namespace on entering the room; naturally, a client MUST ignore such information if it does not understand it (in accordance with RFC 6120). », remnants of GC1? https://xmpp.org/extensions/xep-0045.html#bizrules-presence✎ -
pep.
While in 0045: « A MUC service MUST include the MUC extensions even if the client did not send an empty <x/> element qualified by the 'http://jabber.org/protocol/muc' namespace on entering the room; naturally, a client MUST ignore such information if it does not understand it (in accordance with RFC 6120). », remnants of GC1? https://xmpp.org/extensions/xep-0045.html#bizrules-presence ✏
-
singpolyma
Yes
-
pep.
Is there such a thing is no affiliations? Can there be no owner at all? Removing the initial creator?
-
pep.
« A service MUST NOT allow an owner to revoke his or her own owner status if there are no other owners; if an owner attempts to do this, the service MUST return a <conflict/> error to the owner. However, a service SHOULD allow an owner to revoke his or her own owner status if there are other owners. »
-
pep.
So there will always be at least one owner
-
Maranda
Yes otherwise that'd leave an orphaned room
-
thilo.molitor
Are the rfcxxxx entities usable in xeps autogenerated or do I have to add new RFCs manually?
-
flow
see xep.ent
-
flow
thilo.molitor ↑
-
flow
it's a file in the top level directory of the xeps repo
-
thilo.molitor
flow: yes, but are they autogenerated or do I have to submit a pull request to add several RFCs?
-
flow
thilo.molitor, I would expect that you add them in the same PR where the XEP is added that uses them
-
thilo.molitor
Okay, thanks
-
flow
thilo.molitor, so no, xep.ent is not autogenerated