Olivier Goffart wrote:

> Also, something need to be added to the XEP-0077, so that the user can tell 
> the server he has a new JID.

Good point. I suppose we could do something like this (since the
XEP-0077 schema allows inclusion of a data form in the <query/> element):

<iq type='set' from='[EMAIL PROTECTED]/globe' id='unreg1'>
  <query xmlns='jabber:iq:register'>
    <remove/>
    <x xmlns='jabber:x:data' type='submit'>
      <field type='hidden' var='FORM_TYPE'>
        <value>jabber:iq:register</value>
      </field>
      <field type='jid-single' label='New Address' var='redirect'>
        <value>[EMAIL PROTECTED]</value>
      </field>
    </x>
  </query>
</iq>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to