mod_cloud_notify/mod_cloud_notify.lua
changeset 2250 a3e3dc9131e7
parent 2205 eb5555a3a535
child 2251 d09014d8c901
--- a/mod_cloud_notify/mod_cloud_notify.lua	Sun Jul 24 17:17:06 2016 +0100
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Tue Jul 26 11:42:47 2016 +0200
@@ -11,8 +11,8 @@
 local xmlns_push = "urn:xmpp:push:0";
 
 -- configuration
-local include_body = module:get_option("push_notification_with_body", false);
-local include_sender = module:get_option("push_notification_with_sender", false);
+local include_body = module:get_option_boolean("push_notification_with_body", false);
+local include_sender = module:get_option_boolean("push_notification_with_sender", false);
 
 -- For keeping state across reloads
 local push_enabled = module:open_store();