Modern XMPP project discussion - 2024-06-21


  1. 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?

  2. 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?

  3. 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?

  4. arcanicanis

    Or I guess that's not possible without a presence subscription

  5. 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?

  6. 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

  7. 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

  8. arcanicanis

    s/type=/category=/

  9. gftcgcg

    嘿,你们好!