[Pidgin] #3360: Chat Room Support in Google Talk
Pidgin
trac at pidgin.im
Sat Jun 7 17:14:38 EDT 2008
#3360: Chat Room Support in Google Talk
--------------------------+-------------------------------------------------
Reporter: onlineapps | Owner: seanegan
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Google Talk | Version: 2.2.0
Resolution: | Keywords: chat
Pending: 0 |
--------------------------+-------------------------------------------------
Comment (by chipwizme):
Replying to [ticket:3360 onlineapps]:
> Google Talk's flash app has support for chat rooms. But Pidgin doesn't.
Why not reverse-engineer it?
This is how it works:
When someone invites you to a group chat, but you aren't using the google
talk gadget, the server sends you the message:
{{{
<message to='christian at freedomofknowledge.org' type='chat'
from='chipwizme at gmail.com/gmail.56E2E6BB'>
<body>Christian Wisner-Carlson has invited you to a group chat.
Click here to join the conversation:
http://hostedtalkgadget.google.com/a/freedomofknowledge.org/talkgadget/joinpmuc?r=ClJS5jqNzLxqtqs2d2ra2b_rsj3Lyyp1DH6q01TIXyRm4wbMPEcFYpp0
-ZUrY4RtG-zbL-lo7P94IFQtVTHLnM_l4f2Ed10zSmKyiozyG-
VEYrjdEgzuahbXUDIXxXseoa4YAQ&si=1</body>
<google-mail-signature xmlns='google:metadata'>7281a0a37d732938
</google-mail-signature>
<x xmlns='google:nosave' value='disabled'/>
<record xmlns='http://jabber.org/protocol/archive' otr='false'/>
</message>
}}}
if you click on the link (you have to have "remember me" enabled or it
will prompt you to login) a page with a "launch group chat" button
appears. examining the source reveals a line:
{{{
var room = "private-chat-ecad2d98-1347-43d9-8bdc-
55b25a1b4814 at groupchat.google.com";
}}}
to join the chat in pidgin, paste everything before the "@" in the "room"
box and "groupchat.google.com" into the server box.
I propose a plugin to pidgin that intercepts the invite messages, uses
wget or curl to login to google (see
http://code.google.com/support/bin/answer.py?answer=78451&topic=12022
#authenticating-clientlogin ) and fetches the page, then joins the
chatroom enumerated in "var room". Unfortunately, I'm a crappy coder, and
have no idea how to write such a plugin. If anyone would like to do this,
please email me (christian at freedomofknowledge.org) and i will give you all
my pertinent research.
--
Ticket URL: <http://developer.pidgin.im/ticket/3360#comment:15>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list