Mercurial > pidgin
changeset 745:d693b83e4933
[gaim-migrate @ 755]
apply aliases of self
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 23 Aug 2000 02:43:34 +0000 |
parents | f53e8f48628d |
children | 5a908dd5cfc4 |
files | src/conversation.c |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Wed Aug 23 01:15:10 2000 +0000 +++ b/src/conversation.c Wed Aug 23 02:43:34 2000 +0000 @@ -1094,9 +1094,13 @@ struct buddy *b; if (!who) { - if (flags & WFLAG_SEND) - who = current_user->username; - else { + if (flags & WFLAG_SEND) { + b = find_buddy(current_user->username); + if (b) + who = b->show; + else + who = current_user->username; + } else { b = find_buddy(c->name); if (b) who = b->show;