Skip to content

Instantly share code, notes, and snippets.

@lehrblogger
Created February 11, 2013 18:45
Show Gist options
  • Save lehrblogger/4756566 to your computer and use it in GitHub Desktop.
Save lehrblogger/4756566 to your computer and use it in GitHub Desktop.
XMPP stanzas sent to/from Adium when inviting two Gchat users to a group chat from a third Gchat user.
<presence to='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/Steven Lehrburger'>
<c xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/' hash='sha-1' ver='VUFD6HcFmUT2NxJkBGCiKlZnS3M='/>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
<presence xmlns='jabber:client' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/Steven Lehrburger' to='adium_user@gmail.com/Adium1A4C7DC5'>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item affiliation='owner' role='moderator' jid='adium_user@gmail.com/Adium1A4C7DC5'/>
<user:status code='100'/>
<user:status code='110'/>
</user:x>
<c xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/' hash='sha-1' ver='VUFD6HcFmUT2NxJkBGCiKlZnS3M=' ext='muc-invite'/>
<x xmlns='http://jabber.org/protocol/muc'/>
<x xmlns='vcard-temp:x:update'>
<photo>6a7874cdd4deddfd12bb03fef72dc2a9d654bfd6</photo>
</x>
<nick xmlns='http://jabber.org/protocol/nick'>Steven Lehrburger</nick>
</presence>
<iq type='get' id='purple697d3fe7' to='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com'>
<query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/muc#traffic'/>
</iq>
<presence xmlns='jabber:client' to='adium_user@gmail.com/Adium1A4C7DC5' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/Steven Lehrburger'>
<c xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/' hash='sha-1' ver='VUFD6HcFmUT2NxJkBGCiKlZnS3M=' ext='muc-invite'/>
<x xmlns='http://jabber.org/protocol/muc'/>
<x xmlns='vcard-temp:x:update'>
<photo>6a7874cdd4deddfd12bb03fef72dc2a9d654bfd6</photo>
</x>
<nick xmlns='http://jabber.org/protocol/nick'>Steven Lehrburger</nick>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item affiliation='owner' role='moderator' jid='adium_user@gmail.com/Adium1A4C7DC5'/>
<user:status code='110'/>
</user:x>
</presence>
<iq xmlns='jabber:client' to='adium_user@gmail.com/Adium1A4C7DC5' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com' id='purple697d3fe7' type='result'>
<info:query xmlns:info='http://jabber.org/protocol/disco#info'/>
</iq>
<message to='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<invite to='gchat_user_2@gmail.com'/>
</x>
</message>
<message to='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<invite to='gchat_user_1@gmail.com'/>
</x>
</message>
<presence xmlns='jabber:client' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/3d55076d4e6a393f' to='adium_user@gmail.com/Adium1A4C7DC5'>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item affiliation='member' role='participant' jid='gchat_user_1@gmail.com/gmail.BDCD868D'/>
</user:x>
<x xmlns='http://jabber.org/protocol/muc#user'/>
<nick:nick xmlns:nick='http://jabber.org/protocol/nick'>Steven Lehrburger</nick:nick>
<x xmlns='vcard-temp:x:update'/>
</presence>
<message xmlns='jabber:client' type='groupchat' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com' to='adium_user@gmail.com/Adium1A4C7DC5'>
<body>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item nick='3d55076d4e6a393f' status='available' jid='gchat_user_1@gmail.com/gmail.BDCD868D'/>
</user:x>
</body>
<nos:x xmlns:nos='google:nosave' value='disabled'/>
<arc:record xmlns:arc='http://jabber.org/protocol/archive' otr='false'/>
</message>
<presence xmlns='jabber:client' to='adium_user@gmail.com/Adium1A4C7DC5' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/3d55076d4e6a393f'>
<nick:nick xmlns:nick='http://jabber.org/protocol/nick'>Steven Lehrburger</nick:nick>
<x xmlns='vcard-temp:x:update'/>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='member' role='participant' jid='gchat_user_1@gmail.com/gmail.BDCD868D'/>
</x>
</presence>
<presence xmlns='jabber:client' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/41cd51a7bfcbd8b1' to='adium_user@gmail.com/Adium1A4C7DC5'>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item affiliation='member' role='participant' jid='gchat_user_2@gmail.com/gmail.C15CE7A0'/>
</user:x>
<x xmlns='http://jabber.org/protocol/muc#user'/>
<nick:nick xmlns:nick='http://jabber.org/protocol/nick'>Steven Lehrburger</nick:nick>
<x xmlns='vcard-temp:x:update'/>
</presence>
<message xmlns='jabber:client' type='groupchat' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com' to='adium_user@gmail.com/Adium1A4C7DC5'>
<body>
<user:x xmlns:user='http://jabber.org/protocol/muc#user'>
<user:item nick='41cd51a7bfcbd8b1' status='available' jid='gchat_user_2@gmail.com/gmail.C15CE7A0'/>
</user:x>
</body>
<nos:x xmlns:nos='google:nosave' value='disabled'/>
<arc:record xmlns:arc='http://jabber.org/protocol/archive' otr='false'/>
</message>
<presence xmlns='jabber:client' to='adium_user@gmail.com/Adium1A4C7DC5' from='private-chat-8eeeaa68-f541-4988-9c0f-f6c84120c3bf@groupchat.google.com/41cd51a7bfcbd8b1'>
<nick:nick xmlns:nick='http://jabber.org/protocol/nick'>Steven Lehrburger</nick:nick>
<x xmlns='vcard-temp:x:update'/>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='member' role='participant' jid='gchat_user_2@gmail.com/gmail.C15CE7A0'/>
</x>
</presence>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment