* Ok, it's not an async bug. When I changed everything over to xmpp_is_visible(...
[citadel.git] / citadel / modules / xmpp / xmpp_query_namespace.c
index 45bc9ed8ef0bf995abb94be991ee8f009d91f1ea..5f6465778a1e8d1a8c2ede551ca1bc1619838ef6 100644 (file)
@@ -89,7 +89,7 @@ void xmpp_iq_roster_query(void)
        cptr = CtdlGetContextArray(&nContexts);
        if (cptr) {
                for (i=0; i<nContexts; i++) {
-                       if (xmpp_is_visible(&cptr[i])) {
+                       if (xmpp_is_visible(&cptr[i], CC)) {
                                CtdlLogPrintf(CTDL_DEBUG, "Rosterizing %s\n", cptr[i].user.fullname);
                                xmpp_roster_item(&cptr[i]);
                        }