From b6ec77d668ca7e2cf57198c64dcae373410f4e77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 7 Jul 2009 19:53:07 +0000 Subject: [PATCH] * add json notification template --- citadel/Makefile.in | 4 ++-- citadel/notify_about_newmail.js | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 citadel/notify_about_newmail.js diff --git a/citadel/Makefile.in b/citadel/Makefile.in index 4e0743d25..a109b1831 100644 --- a/citadel/Makefile.in +++ b/citadel/Makefile.in @@ -207,7 +207,7 @@ install-data: network/systems; do \ $(srcdir)/mkinstalldirs $(DESTDIR)$(prefix)/$$i; \ done - @for i in funambol_newmail_soap.xml citadel.rc public_clients \ + @for i in funambol_newmail_soap.xml notify_about_newmail.js citadel.rc public_clients \ `find $(srcdir)/help $(srcdir)/messages $(srcdir)/network -type f | grep -v .svn`; do \ echo $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/$$i; \ $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/$$i; \ @@ -234,7 +234,7 @@ install-data-new: done $(srcdir)/mkinstalldirs $(DESTDIR)$(HELP_DIR)/help - @for i in funambol_newmail_soap.xml \ + @for i in funambol_newmail_soap.xml notify_about_newmail.js \ `find $(srcdir)/help -type f | grep -v .svn`; do \ echo $(INSTALL_DATA) $$i $(DESTDIR)$(HELP_DIR)/$$i; \ $(INSTALL_DATA) $$i $(DESTDIR)$(HELP_DIR)/$$i; \ diff --git a/citadel/notify_about_newmail.js b/citadel/notify_about_newmail.js new file mode 100644 index 000000000..51c77ee69 --- /dev/null +++ b/citadel/notify_about_newmail.js @@ -0,0 +1,7 @@ +{ "message_notification" : { + "to" : "^notifyuser", + "syncsource" : "^syncsource", + "msgid" : "^msgid", + "msgnum" : "^msgnum" + } +} -- 2.39.2