comms: force leave old rooms (v3)
This commit is contained in:
parent
da972215d3
commit
4a584f538d
@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user