jdev - 2025-05-29


  1. halscode

    Ok so un(der)specified behavior: I'm writing an implementation for XEP-0077 In-Band Registration, and I noticed Example 3 and the following paragraph. If the `<registered />` element is present in a response, is overriding the credentials I had previously sent with the ones I received next to it (if any at all) expected behavior? Or is the expected behavior to cancel registering (i.e. boot back to the login screen, show an error message saying hey you're already registered)? The former could be very interesting for anonymous registration (transparently assigned credentials)...

  2. halscode

    In my client, the behavior will be that once I get a "success" response (such as an empty iq result for a registration form ID), I'll automatically sign in with the credentials the user gave (or, maybe, what the server gave me back). And yeah right now I'm just implementing the regular "register to a server" part, but I'm also planning to add the other part (registering to services with the account you're already signed in to) into the SDK.

  3. lovetox

    halscode: if the server sends you registered, that means the username is already taken

  4. lovetox

    There is not more or less you can get from that information. You should show the user the information that this username can't be registered because it's already taken

  5. jjj333_p (any pronouns)

    asking for a friend, does anyone know of a good xmpp library for c#

  6. lovetox

    halscode: and there is a sasl anonymous method so you can get anonym credentials from a server

  7. lovetox

    https://xmpp.org/extensions/xep-0175.html

  8. halscode

    > halscode: if the server sends you registered, that means the username is already taken That's a `<conflict />` error, but eh, same difference. I seem to have missed the second paragraph above that example, which I skipped since the one below it was irrelevant

  9. singpolyma

    If you get registered it means you're already registered which means you must be signed in with a jid. So probably not possible in a regular sign up flow to even get that

  10. moparisthebest

    > asking for a friend, does anyone know of a good xmpp library for c# jjj333_p (any pronouns): 3 listed here https://xmpp.org/software/?platform=all-platforms click libraries