I've done a branch based on Felipe's patch; I think it's ready for review, but it doesn't work ideally with the MSN prpl. When changing my alias from "wtf" to "omg", I get:
(haze:20880): haze-DEBUG: set_aliases_foreach: setting alias for myself to "omg"
purple/msn-INFO: C: NS 000: PRP 17 MFN omg
purple/msn-INFO: S: NS 000: PRP 17 MFN omg
purple/msn-Message: Update contact information for Me with new display name: omg
(haze:20880): haze-DEBUG: set_alias_success_cb: purple_account_set_public_alias succeeded, new alias omg
purple/msn-INFO: S: NS 000: NLN NLN <email address hidden> 1 omg 1074004004 0
but then the blist-node-aliased signal fires, and gives me a different alias, that I haven't used since several attempts ago:
(haze:20880): haze-DEBUG: blist_node_aliased_cb: Contact #1 '<email address hidden>' changed alias from "SMcV" to "SMcV"
purple/msn-Message: Update contact information for <email address hidden> with new display name: omg
purple/blist-Message: Updating buddy status for <email address hidden> (MSN)
This appears to be because I *also* have an AB.Nickname for myself (possibly from Butterfly?), which is "SMcV", overrides the public alias, and can't be changed via Haze.
Still, if it works in some situations (lack of an AB.Nickname), it's a minor improvement...
I've done a branch based on Felipe's patch; I think it's ready for review, but it doesn't work ideally with the MSN prpl. When changing my alias from "wtf" to "omg", I get:
(haze:20880): haze-DEBUG: set_aliases_ foreach: setting alias for myself to "omg" success_ cb: purple_ account_ set_public_ alias succeeded, new alias omg
purple/msn-INFO: C: NS 000: PRP 17 MFN omg
purple/msn-INFO: S: NS 000: PRP 17 MFN omg
purple/msn-Message: Update contact information for Me with new display name: omg
(haze:20880): haze-DEBUG: set_alias_
purple/msn-INFO: S: NS 000: NLN NLN <email address hidden> 1 omg 1074004004 0
but then the blist-node-aliased signal fires, and gives me a different alias, that I haven't used since several attempts ago:
(haze:20880): haze-DEBUG: blist_node_ aliased_ cb: Contact #1 '<email address hidden>' changed alias from "SMcV" to "SMcV" blist-Message: Updating buddy status for <email address hidden> (MSN)
purple/msn-Message: Update contact information for <email address hidden> with new display name: omg
purple/
This appears to be because I *also* have an AB.Nickname for myself (possibly from Butterfly?), which is "SMcV", overrides the public alias, and can't be changed via Haze.
Still, if it works in some situations (lack of an AB.Nickname), it's a minor improvement...