* add webcit database message ID to the notification template.
[citadel.git] / citadel / modules / extnotify / extnotify_main.c
index 51a0f6febf403f3a07685af8ae24c8b698b0b774..f87c392c05fbf1e3e7420e048d04749f5a5755f8 100644 (file)
@@ -135,7 +135,8 @@ void process_notify(long msgnum, void *usrdata) {
     int extPagerAllowed = strncasecmp(configMsg, PAGER_CONFIG_TEXT, strlen(PAGER_CONFIG_TEXT)); 
     if (fnblAllowed == 0) {
            notify_funambol_server(msg->cm_fields['W'], 
-                                  msg->cm_fields['I']);
+                                  msg->cm_fields['I'],
+                                  msgnum);
     } else if (extPagerAllowed == 0) {
            char *number = strtok(configMsg, "textmessage\n");
            int commandSiz = sizeof(config.c_pager_program) + strlen(number) + strlen(msg->cm_fields['W']) + 5;