MSGS command can now do full text search on the room
[citadel.git] / citadel / serv_autocompletion.c
index 71aa0a0358f5b422e4d4f6988c360e1b8ff95b5f..1a6e38fabd20e6570d20494cc938cdf2fc9def29 100644 (file)
@@ -180,13 +180,13 @@ void cmd_auto(char *argbuf) {
 
        /* Take a spin through the user's personal address book */
        if (getroom(&CC->room, USERCONTACTSROOM) == 0) {
-               CtdlForEachMessage(MSGS_ALL, 0, "text/x-vcard", NULL,
+               CtdlForEachMessage(MSGS_ALL, 0, NULL, "text/x-vcard", NULL,
                                        hunt_for_autocomplete, search_string);
        }
        
        /* FIXME try the global address book */
        if (getroom(&CC->room, ADDRESS_BOOK_ROOM) == 0) {
-               CtdlForEachMessage(MSGS_ALL, 0, "text/x-vcard", NULL,
+               CtdlForEachMessage(MSGS_ALL, 0, NULL, "text/x-vcard", NULL,
                                        hunt_for_autocomplete, search_string);
        }