[PATCH] Add serv_got_private_alias

Evan Schoenberg evan.s at dreskin.net
Thu Feb 28 17:32:56 EST 2008


On Feb 28, 2008, at 12:53 PM, Kevin Stange <kevin at simguy.net> wrote:

> Evan Schoenberg wrote:
>> On Feb 27, 2008, at 8:45 PM, Kevin Stange wrote:
>>> 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.
>> You can alias both locally, but for AIM names this information is   
>> stored on the server and sent back to us when we connect.
>> For ICQ, the name that you specify is sent to other people - it   
>> functions just like MSN's friendly name.  This does not happen for  
>> AIM.
>
> For AIM then, there should be no "serv_got_(public_)alias" call  
> because one does not exist.  It should only call  
> "serv_got_private_alias" when appropriate, and Pidgin will never  
> have any public alias to show for AIM buddies in lieu of their  
> screen name.
>
> ICQ names we set on our buddies are still stored as private aliases  
> that no one else sees, so they would have both, right?

Precisely, and a minimal UI (e.g. Buddy list itself) should prefer the  
private one to the public one, while a verbose UI will likely show  
both (e.g. Buddy tooltip)

-Evan




More information about the Devel mailing list