I am integrating XMPP functionality in my ios app and i came across a problem i cannot solve. The problem is i cannot get archived messages from the server. My client is able to log in and i have tested several service calls (send, receive messages, getting info about a user) with success.
Upon sending
<iq type='get' id='pref1'> <pref xmlns='urn:xmpp:archive'/> </iq>
The response is
SEND: <iq type="get"><pref xmlns="urn:xmpp:archive"/></iq> RECV: <iq xmlns="jabber:client" type="error" to="1@iis2/ae76edc"><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp- stanzas"/</error></iq>
The server administrator is able to see the archived messages, as he activated archiving.
Must something be done server or client side in order to achieve this functionality? Could it be that seeing old messages and the server actually implementing and supporting XEP-0136, are two different things?
0 comments:
Post a Comment