Skip to content

Instantly share code, notes, and snippets.

@javipalanca
Created November 2, 2017 21:06
Show Gist options
  • Save javipalanca/2d203048035d682db27880bbda16ed72 to your computer and use it in GitHub Desktop.
Save javipalanca/2d203048035d682db27880bbda16ed72 to your computer and use it in GitHub Desktop.
logs of Psi client
<iq id="aaeaa" type="set">
<query xmlns="jabber:iq:roster">
<item jid="agent2@localhost"/>
</query>
</iq>
<presence to="agent2@localhost" type="subscribe">
<nick xmlns="http://jabber.org/protocol/nick">agent1</nick>
</presence>
<iq to="agent1@localhost/MacBook-Air-de-Javi" id="aaeaa" type="result"/>
<iq id="lx89" type="set">
<query xmlns="jabber:iq:roster" ver="131">
<item jid="agent2@localhost" subscription="none"/>
</query>
</iq>
<iq id="lx89" type="result"/>
<iq id="lx90" type="set">
<query xmlns="jabber:iq:roster" ver="132">
<item jid="agent2@localhost" subscription="none" ask="subscribe"/>
</query>
</iq>
<iq id="lx90" type="result"/>
<presence from="agent2@localhost" to="agent1@localhost" type="unavailable"/>
<presence from="agent2@localhost" to="agent1@localhost" id="xMZO6tEgu1k9e+xgAxl4Q" type="subscribed"/>
<iq id="lx92" type="set">
<query xmlns="jabber:iq:roster" ver="133">
<item jid="agent2@localhost" subscription="to"/>
</query>
</iq>
<iq id="lx92" type="result"/>
<presence from="agent2@localhost/99fa7f5b-ffef-4332-8964-c7e1b13fc76a" to="agent1@localhost">
<show>away</show>
<status/>
<idle xmlns="urn:xmpp:idle:1" since="2017-11-02T19:07:07Z"/>
<x xmlns="vcard-temp:x:update">
<photo>4de24d6eb39e10182d803473fc80b4ef20154c66</photo>
</x>
<c xmlns="http://jabber.org/protocol/caps" node="http://swift.im" ver="3ScHZH4hKmksks0e7RG8B4cjaT8=" hash="sha-1"/>
<delay xmlns="urn:xmpp:delay" stamp="2017-11-02T20:29:50Z" from="localhost"/>
</presence>
<iq to="agent2@localhost/99fa7f5b-ffef-4332-8964-c7e1b13fc76a" id="aaeca" type="get">
<query xmlns="http://jabber.org/protocol/disco#info" node="http://swift.im#3ScHZH4hKmksks0e7RG8B4cjaT8="/>
</iq>
<presence from="agent2@localhost/dcb88a0b-dcf9-47b8-bed0-52215455e022" to="agent1@localhost" id="xSEkOnGvIW/ZJiNz5zVc+">
<delay xmlns="urn:xmpp:delay" stamp="2017-11-02T21:02:05Z" from="localhost"/>
</presence>
<iq from="agent2@localhost/99fa7f5b-ffef-4332-8964-c7e1b13fc76a" to="agent1@localhost/MacBook-Air-de-Javi" id="aaeca" type="result">
<query xmlns="http://jabber.org/protocol/disco#info" node="http://swift.im#3ScHZH4hKmksks0e7RG8B4cjaT8=">
<identity category="client" name="Swift" type="pc"/>
<feature var="http://jabber.org/protocol/chatstates"/>
<feature var="urn:xmpp:sec-label:0"/>
<feature var="urn:xmpp:message-correct:0"/>
<feature var="urn:xmpp:jingle:1"/>
<feature var="urn:xmpp:jingle:apps:file-transfer:4"/>
<feature var="urn:xmpp:jingle:transports:ibb:1"/>
<feature var="urn:xmpp:jingle:transports:s5b:1"/>
<feature var="urn:xmpp:receipts"/>
</query>
</iq>
<presence from="agent1@localhost" to="agent2@localhost" id="xjEwwESzeflPfalTe4SnM" type="subscribe"/>
<iq id="aad8a" type="set">
<query xmlns="jabber:iq:roster">
<item jid="agent1@localhost"/>
</query>
</iq>
<presence to="agent1@localhost" type="subscribe">
<nick xmlns="http://jabber.org/protocol/nick">agent2</nick>
</presence>
<presence to="agent1@localhost" type="subscribed"/>
<iq to="agent2@localhost/MacBook-Air-de-Javi" id="aad8a" type="result"/>
<iq id="lx81" type="set">
<query xmlns="jabber:iq:roster" ver="129">
<item jid="agent1@localhost" subscription="none"/>
</query>
</iq>
<iq id="lx81" type="result"/>
<iq id="lx82" type="set">
<query xmlns="jabber:iq:roster" ver="130">
<item jid="agent1@localhost" subscription="none" ask="subscribe"/>
</query>
</iq>
<iq id="lx82" type="result"/>
<presence from="agent1@localhost" to="agent2@localhost" type="unavailable"/>
<iq id="lx83" type="set">
<query xmlns="jabber:iq:roster" ver="131">
<item jid="agent1@localhost" subscription="from" ask="subscribe"/>
</query>
</iq>
<iq id="lx83" type="result"/>
<presence from="agent1@localhost" to="agent2@localhost" type="unsubscribed"/>
<iq id="lx85" type="set">
<query xmlns="jabber:iq:roster" ver="132">
<item jid="agent1@localhost" subscription="from"/>
</query>
</iq>
<iq id="lx85" type="result"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment