[Pidgin] #4509: Support XMPP Invisibility

Pidgin trac at pidgin.im
Thu Nov 5 01:58:25 EST 2009


#4509: Support XMPP Invisibility
--------------------+-------------------------------------------------------
 Reporter:  js      |        Owner:  deryni
     Type:  defect  |       Status:  new   
Milestone:          |    Component:  XMPP  
  Version:  2.3.1   |   Resolution:        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by ayanc):

 I have a patch (to the pidgin 2.6.3 source) that implements the google
 shared-status system in google talk, which is what supports the
 "invisible" mode in the google talk client. The patch will also honor
 messages from the server asking the client to update its status ---- so
 now if you change your status on the gtalk client, this will be reflected
 in your pidgin status.

 The uploaded file patches both libpurple, and to a minor extent the pidgin
 UI code. I think the libpurple patch is reasonably clean --- it switches
 to shared-status if the the XMPP server returns "google:shared-status" as
 one of its features, so it should not affect non-gtalk based jabber
 accounts.

 The patch for the pidgin code is just an addition to the handler that is
 supposed to update the status box when an account's status changes without
 user initiation (in our case, when the gtalk server sends a status update
 message). It still doesn't seem to always update the actual text away
 message in the status box (only the mode: available/Busy/invisible) ---
 I'm not completely sure how the UI source works, so I haven't tried
 fiddling with it too much.


 Ayan Chakrabarti
 [ayan.chakrabarti [at] gmail]
 ---

 If you're new to this sort of thing, here's how to apply the patch:

 1. Untar the source in some directory, and switch to it

 $ tar xjvf pidgin-2.6.3.tar.bz2

 $ cd pidgin-2.6.3

 2. Apply the two patch files (unzip from attachment)

 $ cat /path/to/patches/gtalk-sharedstatus.patch | patch -p1

 3. ./configure, make, make install as usual.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4509#comment:31>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list