* Added a new message field '1' which may be set by BeforeSave hooks. The presence...
[citadel.git] / citadel / modules / wiki / serv_wiki.c
index d3d071b4132a255485024289d4625892b0281ee3..b9e3ad45456f538cecaaac7add6495662a3cbff3 100644 (file)
@@ -218,6 +218,7 @@ int wiki_upload_beforesave(struct CtdlMessage *msg) {
                history_msg->cm_fields['R'] = strdup(CCC->room.QRname);
                history_msg->cm_fields['E'] = strdup(history_page);
                history_msg->cm_fields['U'] = strdup(history_page);
+               history_msg->cm_fields['1'] = strdup("1");              /* suppress full text indexing */
                snprintf(boundary, sizeof boundary, "Citadel--Multipart--%04x--%08lx", getpid(), time(NULL));
                history_msg->cm_fields['M'] = malloc(1024);
                snprintf(history_msg->cm_fields['M'], 1024,