Mercurial > pidgin.yaz
comparison src/account.c @ 11247:e5aa4398003e
[gaim-migrate @ 13416]
Fix the bug where our screen name would not be shown when sending an
IM to someone over protocols where you do not have a server-side alias,
and you have not set a self-alias for yourself.
This was caused by Sean's commit of a patch which brough conversastion.c
to revision 1.644. Anyone know the reason for this change? The
commit message was
"Todd Troxell removed IM aliases from chat rooms. Unfortunate, but necessary"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 02:26:57 +0000 |
parents | 1c5398ccbeb0 |
children | b4b1be482b4e |
comparison
equal
deleted
inserted
replaced
11246:df67c09ade6e | 11247:e5aa4398003e |
---|---|
568 | 568 |
569 /* Read the alias */ | 569 /* Read the alias */ |
570 child = xmlnode_get_child(node, "alias"); | 570 child = xmlnode_get_child(node, "alias"); |
571 if ((child != NULL) && ((data = xmlnode_get_data(child)) != NULL)) | 571 if ((child != NULL) && ((data = xmlnode_get_data(child)) != NULL)) |
572 { | 572 { |
573 gaim_account_set_alias(ret, data); | 573 if (*data != '\0') |
574 gaim_account_set_alias(ret, data); | |
574 g_free(data); | 575 g_free(data); |
575 } | 576 } |
576 | 577 |
577 /* Read the statuses */ | 578 /* Read the statuses */ |
578 child = xmlnode_get_child(node, "statuses"); | 579 child = xmlnode_get_child(node, "statuses"); |