mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 15:47:54 +02:00
Updated IMAP Push Notifications (markdown)
@ -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=")
|
||||||
|
Reference in New Issue
Block a user