diff src/protocols/bonjour/bonjour.c @ 11718:11e95968c9ff

[gaim-migrate @ 14009] PRPLs are no longer required to call gaim_account_connect() and gaim_account_disconnect()--it is done in the core. Having the PRPLs do it was kind of silly. And this should allow me to improve the auto-reconnect plugin some. I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Oct 2005 20:09:24 +0000
parents b91a84e7cbcb
children 4669e7461968
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c	Sat Oct 22 19:56:02 2005 +0000
+++ b/src/protocols/bonjour/bonjour.c	Sat Oct 22 20:09:24 2005 +0000
@@ -178,17 +178,6 @@
 	primitive = gaim_status_type_get_primitive(type);
 	presence = gaim_account_get_presence(account);
 
-	if (primitive != GAIM_STATUS_OFFLINE && disconnected)
-	{
-		gaim_account_connect(account);
-		return;
-	}
-	if (primitive == GAIM_STATUS_OFFLINE && !disconnected)
-	{
-		gaim_account_disconnect(account);
-		return;
-	}
-
 	if (!gaim_account_is_connected(account))
 		/* TODO: Does this mean we're connecting? */
 		return;