Workaround for libpurple's lack of set_alias()

Evan Schoenberg, M.D. evan.s at dreskin.net
Tue Mar 9 16:01:27 EST 2010


On Jan 28, 2010, at 4:03 AM, Will Thompson wrote:

> On 15/01/10 00:24, Felipe Contreras wrote:
>> Obviously libpurple needs a set_alias() (aka nickname/friendly-name) function.
> 
> Yes, it does.
> 
> I have a couple of issues with the patch:
> 
> • There's no way to tell what restrictions apply to the alias (most obviously, length; but also, if this is to be used for formatting your AIM screen name, that in that case you can only change case and add whitespace);
> • You can't tell whether the operation succeeded or failed.
> 
> But neither of these are problems unique to this function, and better an imperfect function than no function. Any objections to shipping it in 2.7?

Can we please?  It'd be one less hack Adium is using to use libpurple - and would bring us darn close to that magic 0.

-Evan



More information about the Devel mailing list