如何获取离线/存档消息MUC Light iOS

时间:2018-07-12 09:10:26

标签: ios xmpp multiuserchat mongoose-im

我正在发送以下节以获取MUC Light的消息。但响应错误即将到来

STANZA:

<iq type="set" id="1843C080-79A8-4F05-90AA-DAA67F7FCF00">
    <query xmlns="urn:xmpp:mam:2" queryid="6B9D9726-C7DB-4B37-ADC7-06D2B4ABC77B">
        <x xmlns="jabber:x:data" type="submit">
            <field var="FORM_TYPE" type="hidden">
                <value>urn:xmpp:mam:2</value>
            </field>
            <field var="start">
                <value>2018-07-12T08:57:07Z</value>
            </field>
        </x>
    </query>
</iq>

错误:

<iq xmlns="jabber:client" from="971555377129@localhost" to="971555377129@localhost/60CD75D6-48F8-4D94-898E-5CF0305FA7B9" 
id="2E7185E3-24F6-4D2C-B1AB-4B119FF209A4" type="error">
    <error code="500" type="wait">
        <internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
        </internal-server-error>
    </error>
</iq>

任何人都可以帮助我,我做错了什么。谢谢!

0 个答案:

没有答案