comms: force leave old rooms (v3)
This commit is contained in:
parent
da972215d3
commit
4a584f538d
@ -2,7 +2,7 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: bstein-force-leave-2
|
||||
name: bstein-force-leave-3
|
||||
namespace: comms
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
@ -104,7 +104,7 @@ spec:
|
||||
|
||||
def whoami(token):
|
||||
r = requests.get(
|
||||
f"{SYNAPSE_BASE}/_matrix/client/v3/whoami",
|
||||
f"{SYNAPSE_BASE}/_matrix/client/v3/account/whoami",
|
||||
headers={"Authorization": f"Bearer {token}"},
|
||||
timeout=20,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user