Quantcast
Channel: Ignite Realtime : All Content - Openfire Plugins
Viewing all articles
Browse latest Browse all 488

Monitoring Plugin - Retrieve only 1 to 1 chat

$
0
0

Hello,

When requesting 1 to 1 chat, is there a way to exclude groupchat?

 

When submitting this iq :

 

<iq type="set" id="1494335056199" xmlns="jabber:client">        <query xmlns="urn:xmpp:mam:0" queryid="1494335056199query">            <x xmlns="jabber:x:data" type="hidden">                <field var="FORM_TYPE" type="hidden">                    <value>urn:xmpp:mam:0</value>                </field>                <field var="with">                    <value>aliced@aragon</value>                </field>            </x>            <set xmlns="http://jabber.org/protocol/rsm">                <max>10</max>                <before />            </set>        </query>    </iq>

 

I'm receiving last 10 messages including groupchat.
For example :

 

 

<message xmlns='jabber:client' from='room-test@conference.aragon/aliced'
to='aliced@aragon/faq4e7lty' id='room-1491568033712' type='groupchat'>     <body>Message test</body></message>

 

which I don't want :/


Viewing all articles
Browse latest Browse all 488

Trending Articles