-
arcanicanis
Are there any UX guidelines regarding starting a conversation with a JID that's never been interacted with before? Is it fair to do a Service Discovery query on the JID, before opening a new chat window, and throwing an error if unresolvable, or?✎ -
arcanicanis
Are there any UX guidelines regarding starting a conversation with a JID that's never been interacted with before? Is it fair to do a Service Discovery query on the JID, before opening a new chat window, and throwing an error instead if unresolvable, or? ✏
-
arcanicanis
Are there any UX guidelines regarding starting a conversation with a JID that's never been interacted with before? Is it fair to do a Service Discovery query on the JID, before opening a new chat window, or throwing an error instead if unresolvable, or? ✏
-
arcanicanis
Or I guess that's not possible without a presence subscription
-
arcanicanis
although would it still be worthwhile to try anyway, such as to see if the JID even goes to a server that's up, rather than figuring out later with a kickback of an unsendable message?
-
arcanicanis
Seems like there's a dichotomy possible of: do an IQ query for disco#info on the bare JID; - If it replies, and has <identity type="conference" /> in the resultset, then it's a groupchat - If it replies with an error of <subscription-required /> or similar, then it's probably a user? - If it replies, and has <identity ty[e="account" /> in the resultset, it's definitely a user - If there's some server error, then it's unknown, and probably unreachable✎ -
arcanicanis
Seems like there's a dichotomy possible of: do an IQ query for disco#info on the bare JID; - If it replies, and has <identity type="conference" /> in the resultset, then it's a groupchat - If it replies with an error of <subscription-required /> or similar, then it's probably a user? - If it replies, and has <identity type="account" /> in the resultset, it's definitely a user - If there's some server error, then it's unknown, and probably unreachable ✏
-
arcanicanis
s/type=/category=/
-
gftcgcg
嘿,你们好!