[Pidgin] #479: Gaim 2.0.0beta6 - Jabber contact list one contact repeated

Pidgin trac at pidgin.im
Mon Nov 24 12:26:14 EST 2008


#479: Gaim 2.0.0beta6 - Jabber contact list one contact repeated
---------------------------------+------------------------------------------
 Reporter:  cga                  |        Owner:  deryni
     Type:  patch                |       Status:  new   
Milestone:  2.5.3                |    Component:  XMPP  
  Version:  2.0                  |   Resolution:        
 Keywords:  jabber contact list  |  
---------------------------------+------------------------------------------

Comment(by darkrain42):

 So I have a new fairly braindead patch that should work.

 Deryni: Basically, forget all of the checks -- determine that the user is
 "on list" by whether or not we found a !PurpleBuddy; XMPP subscription
 status be damned.

 The problem with this is that (given the example in
 [http://developer.pidgin.im/ticket/479#comment:29 #29]), when B authorizes
 A, B does not request authorization from A (it must be done manually). I'm
 not sure I see decent solution to this.

 Ideally, the authorization request wouldn't require the PRPL to determine
 "on list" status -- the UI would do that check when authorizing a request
 (there's a built-in race condition if I ignore an authorization request
 thing on the buddy list and add a buddy by hand). At that point in time,
 if there's a way for the GUI to determine subscription status (I haven't
 looked -- do the prpls expose this in a standard way?), it could change
 the current logic to something like:
 {{{
 if (onlist && we're not subscribed to contact's presence)
         request to subscribe to contact's presence
 else if (!onlist)
         throw up the "add buddy" dialog like we do currently
 }}}

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


More information about the Tracker mailing list