matrix-spam-ml

git clone git://archive.git.mtrnord.blog/MTRNord/matrix-spam-ml.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6314c75c9f3b05fcdee3e17181520af21423dd4b
parent 679a55d2801762092e0ddd54f108bfdf0828eb6b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 20 Dec 2022 20:58:30 +0100

Also track original room id

Diffstat:
Mbot/src/index.ts | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bot/src/index.ts b/bot/src/index.ts @@ -216,6 +216,7 @@ class Bot { "space.midnightthoughts.spam_score": prediction_value.toFixed(3), "space.midnightthoughts.sending_user": mxid, "space.midnightthoughts.sending_room": roominfo, + "space.midnightthoughts.event_id": event.eventId, }); await this.client.unstableApis.addReactionToEvent(this.config.warningsRoom, alert_event_id, BAN_REACTION);