aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-20 21:53:38 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-20 21:53:38 +0100
commit1fa6a235283df04233a5dced99ab9a924bfb65f9 (patch)
treed9e865fad8faa182f78531dae9f4b48b81ebc55c /protocols
parent00f434f7854d593b8a204724281ec4c794d0098c (diff)
Jabber module now requests the buddy list before setting an away state, this
was at least one cause of not seeing someone online. I'm afraid there are more (there's at least one more I know about), as mentioned in #15.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/jabber/jabber.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index fc419124..c9fd4e3a 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -1248,14 +1248,10 @@ static void jabber_handleauthresp(gjconn gjc, jpacket p)
}
gjab_auth(gjc);
} else {
+ gjab_reqroster(gjc);
account_online(GJ_GC(gjc));
-
- if (bud_list_cache_exists(GJ_GC(gjc)))
- do_import(GJ_GC(gjc), NULL);
-
+
((struct jabber_data *)GJ_GC(gjc)->proto_data)->did_import = TRUE;
-
- gjab_reqroster(gjc);
}
} else {
xmlnode xerr;