]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_chat.c
* The EUID index is now built, and replication checks are being performed
[citadel.git] / citadel / serv_chat.c
index 8b4e28c78586539e8c3b447a777c3358354e9986..ce6f7324b08e7a1a8c2ec5d122368ee8cb4c6758 100644 (file)
@@ -634,12 +634,12 @@ int send_instant_message(char *lun, char *x_user, char *x_msg)
                 * creating the room if necessary.
                 */
                create_room(PAGELOGROOM, 4, "", 0, 1, 0, VIEW_BBS);
-               msgnum = CtdlSubmitMsg(logmsg, NULL, NULL, NULL, PAGELOGROOM);
+               msgnum = CtdlSubmitMsg(logmsg, NULL, PAGELOGROOM);
 
                /* Now save a copy in the global log room, if configured */
                if (strlen(config.c_logpages) > 0) {
                        create_room(config.c_logpages, 3, "", 0, 1, 1, VIEW_BBS);
-                       CtdlSaveMsgPointerInRoom(config.c_logpages, msgnum, 0);
+                       CtdlSaveMsgPointerInRoom(config.c_logpages, msgnum, 0, NULL);
                }
 
                /* Save a copy in each recipient's log room, creating those
@@ -649,7 +649,7 @@ int send_instant_message(char *lun, char *x_user, char *x_msg)
                 */
                while (sl != NULL) {
                        create_room(sl->roomname, 5, "", 0, 1, 1, VIEW_BBS);
-                       CtdlSaveMsgPointerInRoom(sl->roomname, msgnum, 0);
+                       CtdlSaveMsgPointerInRoom(sl->roomname, msgnum, 0, NULL);
                        sptr = sl->next;
                        free(sl);
                        sl = sptr;