diff src/protocols/sametime/sametime.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 925c1960af34
children fa742ad8068c
line wrap: on
line diff
--- a/src/protocols/sametime/sametime.c	Sat Oct 22 19:56:02 2005 +0000
+++ b/src/protocols/sametime/sametime.c	Sat Oct 22 20:09:24 2005 +0000
@@ -3492,15 +3492,6 @@
 
   gaim_debug_info("meanwhile", "Set status to %s\n", gaim_status_get_name(status));
 
-  if (!strcmp(state, "offline") && (gc != NULL)) {
-     gaim_account_disconnect(acct);
-     return;
-  }
-  else if (strcmp(state, "offline") && (gc == NULL)) {
-     gaim_account_connect(acct);
-     return;
-  }
-
   g_return_if_fail(gc != NULL);
 
   session = gc_to_session(gc);