[PATCH] Add serv_got_private_alias

Kevin Stange kevin at simguy.net
Wed Feb 27 20:45:03 EST 2008


Evan Schoenberg wrote:
> On Feb 27, 2008, at 12:36 PM, John Bailey wrote:
> 
>>  purple_serv_got_private_alias() should be
>> called by the oscar prpl after this alias has been retrieved from the
>> server instead of serv_got_alias().  Now serv_got_alias() should be  
>> used
>> for "public" (a.k.a. "remote") aliases only.
> 
> So serv_got_alias() should be called for incoming ICQ names, but  
> serv_got_private_alias() should be called for incoming AIM names.
> 

It's possible to locally alias both AIM and ICQ buddies and have this 
information stored, isn't it?  As I understand it, this is what 
"private" refers to.  If you change the private alias from another 
client and the server sends an update to you, serv_got_private_alias 
should be called. serv_got_alias (or perhaps later _public_alias) should 
be called when you receive the alias that a user has defined for 
himself, such as one's own annoying MSN friendly name.

The policy in terms of this information is currently, I believe, to 
display the public alias if one exists unless we have a private one set. 
  This was one of those prefs we slashed away some time ago.

Felipe's patch introduces to libpurple the ability to tell a buddy's own 
alias apart from our alias for him, then as a UI, display one, both, 
neither, or the xor of the bits or whatever we like.

Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20080227/de91438d/attachment.sig>


More information about the Devel mailing list