# HG changeset patch # User Matthew Wild # Date 1638790036 0 # Node ID 2073137bc9436a544b2bdb3b9562a5b18e852288 # Parent 95b668d73ff961bd7d1eb4805d3067f7041d4699 rtbl_admin: Notify subscribers on item removal (requires verse 98dc1750584d) diff -r 95b668d73ff9 -r 2073137bc943 plugins/rtbl_admin.lua --- 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");