- jonas’ digs into the more ancient parts of aioxmpp
-
jonas’
I *think* I implmeneted the RFC 4647 algorithm for language selection
-
jonas’
it’s not even that complex
-
flow
yep I also believe that the situation is not that hard, be it the xml:lang inheritance or the xml:lang selection
-
flow
somebody™ just has to implement it
-
lovetox
hm i have a problem with captcha protected rooms
-
lovetox
if the captcha verification fails, server returns an error iq which is ok
-
lovetox
but afterwards he also sends a presence error: not-authorized
-
lovetox
which my client interprets as, please supply a password
-
lovetox
but there is none on the room
-
lovetox
question is should the server abort my join only because i supplied a wrong captcha?
-
lovetox
but at some point he has to abort it, so is not-authorized the correct error here?
-
lovetox
its probably undefined
-
Zash
What is the error type?
-
Zash
In https://xmpp.org/extensions/xep-0045.html#enter-pw the example has type=auth
-
lovetox
auth
-
lovetox
you mean the server could use something different here?
-
lovetox
so we can act on the difference
-
Zash
https://xmpp.org/extensions/xep-0158.html#example-3 like that perhaps?
-
Zash
Is CAPTCHA a type of authentication?
-
lovetox
i guess its not much different to a password
-
lovetox
it auths me as human :D
-
lovetox
i think it does not matter much was the server does, seems i have to track that im in a captcha auth and ignore the presence error
-
lovetox
but much complexity for a feature probably almost nobody ever uses
-
flow
lovetox, one could add a feature to xep45 signalling that the muc service will add a captcha specific error condition to the error IQ
-
lovetox
but the problem is not the error iq, the problem for me was the error presence that followed the error iq
-
lovetox
but i think this has be solved by the client, i just have to track that im in a captcha workflow, and that all error presences mean the captcha workflow was aborted
-
lovetox
and not what they usually mean
-
flow
add the specific error condition to the presence then
-
lovetox
hm yeah would be a solution, but i prefer to handle it in the client
-
lovetox
another question, what if i send a message to a bare muc jid, when im not joined
-
lovetox
usually i would expect muc denies the message
-
lovetox
but what if im owner of the muc?
-
lovetox
hm the MUC xep allows to send message to the room from outside
-
lovetox
message can not be matched to a user if this is done
-
lovetox
even in a non-anonymous room
-
lovetox
which i find weird
-
lovetox
would be allowed to attach the <addresses> thingy to these messages?
-
lovetox
with a ofrom= realjid