comms: force leave old rooms (v3)

This commit is contained in:
Brad Stein 2026-01-01 17:16:57 -03:00
parent da972215d3
commit 4a584f538d

View File

@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: bstein-force-leave-2 name: bstein-force-leave-3
namespace: comms namespace: comms
spec: spec:
backoffLimit: 0 backoffLimit: 0
@ -104,7 +104,7 @@ spec:
def whoami(token): def whoami(token):
r = requests.get( r = requests.get(
f"{SYNAPSE_BASE}/_matrix/client/v3/whoami", f"{SYNAPSE_BASE}/_matrix/client/v3/account/whoami",
headers={"Authorization": f"Bearer {token}"}, headers={"Authorization": f"Bearer {token}"},
timeout=20, timeout=20,
) )