changeset 24957:8c2631eb5da7

I think it's reasonable for prpls to call purple_prpl_got_user_idle() before our account is fully connected.
author Mark Doliner <mark@kingant.net>
date Tue, 13 Jan 2009 21:27:58 +0000
parents bacb1e93e7c4
children 73e88188a7d4
files libpurple/prpl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prpl.c	Tue Jan 13 02:02:14 2009 +0000
+++ b/libpurple/prpl.c	Tue Jan 13 21:27:58 2009 +0000
@@ -190,7 +190,7 @@
 
 	g_return_if_fail(account != NULL);
 	g_return_if_fail(name    != NULL);
-	g_return_if_fail(purple_account_is_connected(account));
+	g_return_if_fail(purple_account_is_connected(account) || purple_account_is_connecting(account));
 
 	if ((list = purple_find_buddies(account, name)) == NULL)
 		return;