pidgin: 1361cf86: Add only the online buddies for auto-com...
sadrul at pidgin.im
sadrul at pidgin.im
Thu May 8 01:15:47 EDT 2008
-----------------------------------------------------------------
Revision: 1361cf862479ed896042cad3e5e8c3c561ee8e21
Ancestor: e4a47fe98a9d4dd92ac57a9151cd63583fcf88cd
Author: sadrul at pidgin.im
Date: 2008-05-08T05:14:35
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1361cf862479ed896042cad3e5e8c3c561ee8e21
Modified files:
pidgin/gtkconv.c
ChangeLog:
Add only the online buddies for auto-completion in the invite dialog.
-------------- next part --------------
============================================================
--- pidgin/gtkconv.c f04b6ccf826b1d10029e7b6caa0c7fd1878862e0
+++ pidgin/gtkconv.c 8e40e4d5171b6f05ba4c5a840454be1fceedb5df
@@ -703,7 +703,10 @@ chat_invite_filter(const PidginBuddyComp
PurpleAccount *account = NULL;
if (entry->is_buddy) {
- account = purple_buddy_get_account(entry->entry.buddy);
+ if (PURPLE_BUDDY_IS_ONLINE(entry->entry.buddy))
+ account = purple_buddy_get_account(entry->entry.buddy);
+ else
+ return FALSE;
} else {
account = entry->entry.logged_buddy->account;
}
More information about the Commits
mailing list