X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserv_vcard.c;h=6ec6d216704ae2b3294cddb34ea139ee55581bae;hp=2d91b75bdeb7e1ea352476fc0497f8ad23b0b873;hb=8eac29db12e027867644fcac287a6b4c34e067c7;hpb=b10bfc3657c08d18d5c0a75c4dda0d37895c8355 diff --git a/citadel/serv_vcard.c b/citadel/serv_vcard.c index 2d91b75bd..6ec6d2167 100644 --- a/citadel/serv_vcard.c +++ b/citadel/serv_vcard.c @@ -189,7 +189,7 @@ void cmd_igab(char *argbuf) { CtdlDirectoryInit(); /* We want *all* vCards in this room */ - CtdlForEachMessage(MSGS_ALL, 0, "text/x-vcard", + CtdlForEachMessage(MSGS_ALL, 0, NULL, "text/x-vcard", NULL, vcard_add_to_directory, NULL); getroom(&CC->room, hold_rm); /* return to saved room */ @@ -522,7 +522,7 @@ struct vCard *vcard_get_user(struct ctdluser *u) { /* We want the last (and probably only) vcard in this room */ VCmsgnum = (-1); - CtdlForEachMessage(MSGS_LAST, 1, "text/x-vcard", + CtdlForEachMessage(MSGS_LAST, 1, NULL, "text/x-vcard", NULL, vcard_gu_backend, (void *)&VCmsgnum ); getroom(&CC->room, hold_rm); /* return to saved room */ @@ -1051,7 +1051,7 @@ void store_this_ha(struct addresses_to_be_filed *aptr) { /* First remove any addresses we already have in the address book */ usergoto(aptr->roomname, 0, 0, NULL, NULL); - CtdlForEachMessage(MSGS_ALL, 0, "text/x-vcard", NULL, + CtdlForEachMessage(MSGS_ALL, 0, NULL, "text/x-vcard", NULL, strip_addresses_already_have, aptr->collected_addresses); if (strlen(aptr->collected_addresses) > 0)