about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-15 23:26:31 +0200
committerRory& <root@rory.gay>2025-05-15 23:26:31 +0200
commit38355f64504abbdcd241034c25f04f20e89913e8 (patch)
tree5a410bb20a8d12a37d0aba5e655a0d67a7786f82
parentSome various improvements, redo configuration, clean up example config (diff)
downloadMatrixAntiDmSpam-38355f64504abbdcd241034c25f04f20e89913e8.tar.xz
Add presence=offline to template config
-rw-r--r--MatrixAntiDmSpam/appsettings.Development.json8
1 files changed, 7 insertions, 1 deletions
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