Hi,

I'm currently implementing PEP into libpurple, and have some issue I can't quite find explained in the XEPs: How do I remove a personal event?

For example, the user published his/her mood using XEP-0107. Now he/ she wants to remove this information, without overriding it with a new mood. My guess is that it could look like this:

<iq type='set'
    from='[EMAIL PROTECTED]/ca486eba-0f9a-11dc-8835-000bcd821bfb'
    id='publish1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <publish node='http://jabber.org/protocol/mood'>
      <item/>
    </publish>
  </pubsub>
</iq>

Maybe I missed it, but I couldn't find that info anywhere in XEP-0107 nor in XEP-0163. XEP-0060 considers this syntax to be incorrect, but the situation is quite different there (I can't use <retract/>, since I don't have an id). What is the correct way to do that?

andy

Reply via email to