# HG changeset patch # User Eric Warmenhoven # Date 966998614 0 # Node ID 31d1085f03d5994728f6340c60d779d71dbbb27f # Parent b978a62fe251da638b78e8cd6eb22856ee931353 [gaim-migrate @ 755] apply aliases of self diff -r b978a62fe251 -r 31d1085f03d5 src/conversation.c --- 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;