Mercurial > pidgin.yaz
changeset 12829:3848e5eb7962
[gaim-migrate @ 15177]
let's actually watch the presense of buddies when they're added to the buddy list
committer: Tailor Script <tailor@pidgin.im>
author | Christopher O'Brien <siege@pidgin.im> |
---|---|
date | Wed, 11 Jan 2006 17:46:41 +0000 |
parents | 09ac562f0813 |
children | 3b4a6e426b99 |
files | src/protocols/sametime/sametime.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/sametime/sametime.c Wed Jan 11 16:19:39 2006 +0000 +++ b/src/protocols/sametime/sametime.c Wed Jan 11 17:46:41 2006 +0000 @@ -4351,10 +4351,15 @@ multi_resolved_query(res, gc); } else { + /* same person, set the server alias */ gaim_blist_server_alias_buddy(buddy, match->name); gaim_blist_node_set_string((GaimBlistNode *) buddy, BUDDY_KEY_NAME, match->name); + + /* subscribe to awareness */ + buddy_add(pd, buddy); + blist_schedule(pd); }