diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 | 
| commit | 728a981e422539df38d27d87e33829082d376ac6 (patch) | |
| tree | 86458693b4f0f38f3695ce7fe3bcc7b1ee67c818 /protocols/jabber/jabber.c | |
| parent | 96ace1b808f4df3f2106fa90c19fdc23408f924d (diff) | |
| parent | 9b8a38bfa9a89e9741521ac522927c80b68976cf (diff) | |
[merge] Wilmer
Diffstat (limited to 'protocols/jabber/jabber.c')
| -rw-r--r-- | protocols/jabber/jabber.c | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index ba652b8a..224762ce 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -1231,9 +1231,7 @@ static void jabber_handleroster(gjconn gjc, xmlnode querynode)  		x = xmlnode_get_nextsibling(x);  	} -	x = jutil_presnew(0, NULL, "Online"); -	gjab_send(gjc, x); -	xmlnode_free(x); +	account_online(GJ_GC(gjc));  }  static void jabber_handleauthresp(gjconn gjc, jpacket p) @@ -1249,7 +1247,6 @@ static void jabber_handleauthresp(gjconn gjc, jpacket p)  			gjab_auth(gjc);  		} else {  			gjab_reqroster(gjc); -			account_online(GJ_GC(gjc));  			((struct jabber_data *)GJ_GC(gjc)->proto_data)->did_import = TRUE;  		} | 
