From 43ba15a7b884d239fc5c20fe3cf67496be6cb2e3 Mon Sep 17 00:00:00 2001 From: Lyncoln Date: Sun, 18 Oct 2026 00:20:15 -0400 Subject: [PATCH] Added ability to ping synapse and wake it --- plugins/rmass/actions/pingsynapse.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 plugins/rmass/actions/pingsynapse.py diff --git a/plugins/rmass/actions/pingsynapse.py b/plugins/rmass/actions/pingsynapse.py new file mode 100644 index 0000000..a1ad22f --- /dev/null +++ b/plugins/rmass/actions/pingsynapse.py @@ -0,0 +1,26 @@ +name = "Synapse Wake" + +kind = "action" + +alias = "synapseping" + +showstatus = True + +isrequest = True + +method = "POST" + +path = [ + "https://loxthelion.com/_matrix/client/v1/appservice/rmass/ping", +] + +headers = { + "Authorization": { + "os": "AS_TOKEN", + "prefix": "Bearer ", + }, + "Content-Type": "application/json", +} + +keys = {} +