view mod_spam_reporting/README.md @ 6015:7b093a9b95ea

mod_report_forward: Fix traceback on error message passed to datetime function If archive:get() returns an error, e.g. because it can't find a message with the given ID, it may return e.g. nil, "item-not-found" or similar where the error condition ends up in reported_message_time, which gets passed to util.datetime, which thus ends up doing math to a string or error object.
author Kim Alvefur <zash@zash.se>
date Wed, 06 Nov 2024 22:25:41 +0100
parents fe081789f7b5
children
line wrap: on
line source

---
labels:
- 'Stage-Beta'
summary: 'XEP-0377: Spam Reporting'
---

This module is a very basic implementation of [XEP-0377: Spam Reporting].

When someone reports spam or abuse, a line about this is logged and an
event is fired so that other modules can act on the report.