X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_queue.c;h=24e474aa4cbac21842056149fe25b3c361d212d9;hb=076aaf225bd8a8713cb16c99463f46518e20f118;hp=3bd8c95d7bdf2d871c22b988a1242e88f833a20e;hpb=6aa2397222e8eb94b061034d07f36a56d09873b9;p=citadel.git diff --git a/citadel/modules/xmpp/xmpp_queue.c b/citadel/modules/xmpp/xmpp_queue.c index 3bd8c95d7..24e474aa4 100644 --- a/citadel/modules/xmpp/xmpp_queue.c +++ b/citadel/modules/xmpp/xmpp_queue.c @@ -113,7 +113,7 @@ void xmpp_queue_event(int event_type, char *email_addr) { begin_critical_section(S_SESSION_TABLE); for (cptr = ContextList; cptr != NULL; cptr = cptr->next) { if ((cptr->logged_in) && (cptr->h_async_function == xmpp_async_loop)) { - cptr->async_waiting = 1; + set_async_waiting(cptr); } } end_critical_section(S_SESSION_TABLE);