Updated IMAP Push Notifications (markdown)

Ralf Becker 2021-06-29 08:35:48 +02:00
parent f53b4c7193
commit 085d74897f

@ -100,10 +100,6 @@ function table_get(t, k, d)
return t[k] or d return t[k] or d
end end
function script_init()
return 0
end
function dovecot_lua_notify_begin_txn(user) function dovecot_lua_notify_begin_txn(user)
local meta = user:metadata_get("/private/vendor/vendor.dovecot/http-notify") local meta = user:metadata_get("/private/vendor/vendor.dovecot/http-notify")
if (meta == nil or meta:sub(1,5) ~= "user=") if (meta == nil or meta:sub(1,5) ~= "user=")