--- a/src/protocols/jabber/presence.c Mon Feb 28 18:18:22 2005 +0000 +++ b/src/protocols/jabber/presence.c Tue Mar 01 21:15:58 2005 +0000 @@ -102,10 +102,13 @@ if(!account) return ; gc = account->gc; - - if(!gc) return ; + + if (!gc && strcmp(gaim_status_get_id(status), "offline")) + gaim_account_connect(account, status); + + if(!gc) return; js= gc->proto_data; - + gaim_status_to_jabber(status, &state, &msg, &priority); if(msg)