Mon, 06 Dec 2021 11:27:16 +0000
rtbl_admin: Notify subscribers on item removal (requires verse 98dc1750584d)
plugins/rtbl_admin.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/rtbl_admin.lua Mon Dec 06 11:26:37 2021 +0000 +++ b/plugins/rtbl_admin.lua Mon Dec 06 11:27:16 2021 +0000 @@ -32,6 +32,7 @@ local hash = sha256(reported_jid, true); bot.stream.pubsub(config.host, config.node):retract( hash, -- item id + true, -- notify subscribers function (success) -- callback if not success then command:reply("Failed to update RTBL");