rtbl_admin: Notify subscribers on item removal (requires verse 98dc1750584d)

Mon, 06 Dec 2021 11:27:16 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 06 Dec 2021 11:27:16 +0000
changeset 167
2073137bc943
parent 166
95b668d73ff9
child 168
1c2b8d10ceed

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");

mercurial