Privacy list setting bug
From: wu white <whiszz@xxxxxxxxxxx>
Date: Thu, 12 Mar 2009 03:15:34 +0100 (CET)
If you set a privacy list to server,
XMPP message like following will be sent:
<iq id=‘uid8’ type=‘set’ from=‘xxx’ xmlns=‘jabber:client’>
    <query xmlns=‘jabber:iq:privacy’ name=‘defaultList’/>
    <list xmlns=‘jabber:iq:privacy’>
        <item>…</item>
        …
    </list>
</iq>

But the name attribute of query tag should be added to list tag. (refer to 
XEP-0016)
Correct XMPP message should like 
<iq id=‘uid8’ type=‘set’ from=‘xxx’ xmlns=‘jabber:client’>
    <query xmlns=‘jabber:iq:privacy’/>
    <list xmlns=‘jabber:iq:privacy’  name=‘defaultList’>
        <item>…</item>
        …
    </list>
</iq>

So privacymanager.cpp could apply patch as following. (based on beta7)

141c141

<       t->addAttribute( "name", (*m_names.begin()) );

---

>       c->addAttribute( "name", (*m_names.begin()) );



_________________________________________________________________
隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間 — Windows Live for Mobile
http://3c.msn.com.tw/mobile/