changeset 12377:b94069a95be7

[gaim-migrate @ 14681] this should fix the problem where you have yourself on your jabber buddy list, but you don't appear online until you change your status once. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 07 Dec 2005 00:04:50 +0000
parents 5482836a0fac
children c9aeafdb445e
files src/prpl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prpl.c	Tue Dec 06 23:57:52 2005 +0000
+++ b/src/prpl.c	Wed Dec 07 00:04:50 2005 +0000
@@ -237,7 +237,7 @@
 	g_return_if_fail(account   != NULL);
 	g_return_if_fail(name      != NULL);
 	g_return_if_fail(status_id != NULL);
-	g_return_if_fail(gaim_account_is_connected(account));
+	g_return_if_fail(gaim_account_is_connected(account) || gaim_account_is_connecting(account));
 
 	if ((buddy = gaim_find_buddy(account, name)) == NULL)
 		return;