Question

I am using https://github.com/robbiehanson/XMPPFramework for my iOS chat application.

I need help here to delete a registered user account.

Kindly help me out.

Was it helpful?

Solution

As described in the section Entity Cancels an Existing Registration of XEP-0077, you need to send the following stanza to the server:

<iq type='set' id='unreg1'>
  <query xmlns='jabber:iq:register'>
    <remove/>
  </query>
</iq>

The server should then send a 'not-authorized' stream error and terminate the connection.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top