From 38355f64504abbdcd241034c25f04f20e89913e8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 15 May 2025 23:26:31 +0200 Subject: Add presence=offline to template config --- MatrixAntiDmSpam/appsettings.Development.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MatrixAntiDmSpam/appsettings.Development.json b/MatrixAntiDmSpam/appsettings.Development.json index 8c69222..81dce9d 100644 --- a/MatrixAntiDmSpam/appsettings.Development.json +++ b/MatrixAntiDmSpam/appsettings.Development.json @@ -16,7 +16,13 @@ // write this into a file, and then clear site data for riot.im so you don't accidentally log it out. // Also, it's recommended to rename the session in your devices list "AccessTokenPath": "/home/Rory/matrix_access_token", - + + // What presence value to set + // Defaults to "online" if null or not set, as this is standard Matrix behavior + // Does nothing if your server doesn't support presence, or has presence disabled + // "offline" is the recommended value, assuming you're using a separate "device" for the bot. + "Presence": "offline", + "InviteListener": { "SyncConfiguration": { // Whether to initial sync on startup -- cgit 1.5.1