Mon, 06 Dec 2021 11:26:37 +0000
rtbl_admin: Fix reason string (abuse is defined to be the most generic)
Would be nice to support reasons in the future (and text annotations)
plugins/rtbl_admin.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/rtbl_admin.lua Sun Dec 05 18:35:39 2021 +0000 +++ b/plugins/rtbl_admin.lua Mon Dec 06 11:26:37 2021 +0000 @@ -16,7 +16,7 @@ -- <report xmlns="urn:xmpp:reporting:1" reason="urn:xmpp:reporting:abuse"/> verse.stanza("report", { xmlns = "urn:xmpp:reporting:1"; - reason = "urn:xmpp:reporting:spam"; }), + reason = "urn:xmpp:reporting:abuse"; }), function (success) -- callback if not success then command:reply("Failed to update RTBL");