[Standards] <gone/> and <redirect/>

Peter Saint-Andre stpeter at stpeter.im
Fri Mar 14 21:56:12 UTC 2008


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='bill at shakespeare.lit/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>thebard at shakespeare.lit</value>
      </field>
    </x>
  </query>
</iq>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20080314/81fae00b/attachment.bin>


More information about the Standards mailing list