pidgin/gtkconv.c

changeset 23036
5b415c84861f
parent 23035
0a90daef7192
child 23227
f2d8240d3487
child 23284
8584cb2422e5
child 23289
91b0e34f4a88
equal deleted inserted replaced
23035:0a90daef7192 23036:5b415c84861f
701 { 701 {
702 PurpleAccount *filter_account = data; 702 PurpleAccount *filter_account = data;
703 PurpleAccount *account = NULL; 703 PurpleAccount *account = NULL;
704 704
705 if (entry->is_buddy) { 705 if (entry->is_buddy) {
706 account = purple_buddy_get_account(entry->entry.buddy); 706 if (PURPLE_BUDDY_IS_ONLINE(entry->entry.buddy))
707 account = purple_buddy_get_account(entry->entry.buddy);
708 else
709 return FALSE;
707 } else { 710 } else {
708 account = entry->entry.logged_buddy->account; 711 account = entry->entry.logged_buddy->account;
709 } 712 }
710 if (account == filter_account) 713 if (account == filter_account)
711 return TRUE; 714 return TRUE;

mercurial