From: Karl Fleischmann Date: Mon, 7 Aug 2023 08:36:55 +0000 (+0200) Subject: plugins/push-notification: push-notification-driver-lua - Rename push_notification_lu... X-Git-Tag: 2.4.1~1357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a910ce7cb488ada997d8cb2828baffad340f9602;p=thirdparty%2Fdovecot%2Fcore.git plugins/push-notification: push-notification-driver-lua - Rename push_notification_lua_script_file to push_notification_lua_script_path --- diff --git a/src/plugins/push-notification/push-notification-driver-lua.c b/src/plugins/push-notification/push-notification-driver-lua.c index a0c1c4ed6d..08527948b1 100644 --- a/src/plugins/push-notification/push-notification-driver-lua.c +++ b/src/plugins/push-notification/push-notification-driver-lua.c @@ -34,7 +34,7 @@ #include "push-notification-event-messageread.h" #include "push-notification-event-messagetrash.h" -#define DLUA_LOG_USERENV_KEY "push_notification_lua_script_file" +#define DLUA_LOG_USERENV_KEY "push_notification_lua_script_path" #define DLUA_FN_BEGIN_TXN "dovecot_lua_notify_begin_txn" #define DLUA_FN_EVENT_PREFIX "dovecot_lua_notify_event" @@ -81,7 +81,7 @@ push_notification_driver_lua_init( event_set_append_log_prefix(event, "lua: "); if ((tmp = mail_user_plugin_getenv(user, DLUA_LOG_USERENV_KEY)) == NULL) - tmp = hash_table_lookup(config->config, (const char *)"file"); + tmp = hash_table_lookup(config->config, (const char *)"path"); if (tmp == NULL) { struct dlua_script *script; @@ -97,7 +97,7 @@ push_notification_driver_lua_init( } event_unref(&event); - *error_r = "No file in config and no " + *error_r = "No path in config and no " DLUA_LOG_USERENV_KEY " set"; return -1; }