From 889c068705f1b9fb3eaaeb37816770528f3061f3 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 6 Oct 2021 23:06:03 +0300 Subject: [PATCH] bash/matrix-*-room.bash: switch homeserver --- bash/matrix-tombstone-room.bash | 2 +- bash/matrix-upgrade-room.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/matrix-tombstone-room.bash b/bash/matrix-tombstone-room.bash index 034eb6c..d41be3e 100755 --- a/bash/matrix-tombstone-room.bash +++ b/bash/matrix-tombstone-room.bash @@ -7,7 +7,7 @@ ACCESSTOKEN= OLDROOMID= NEWROOMID= -HOMESERVER=chat.privacytools.io +HOMESERVER=matrix-client.matrix.org set -x curl -s -X PUT -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" --data-binary "{\"replacement_room\":\"$NEWROOMID\"}" "https://$HOMESERVER/_matrix/client/r0/rooms/$OLDROOMID/state/m.room.tombstone" diff --git a/bash/matrix-upgrade-room.bash b/bash/matrix-upgrade-room.bash index df2b1e7..a7571ca 100755 --- a/bash/matrix-upgrade-room.bash +++ b/bash/matrix-upgrade-room.bash @@ -12,7 +12,7 @@ OLDROOMID= # Note: $ is not a character that worlks without quotes due to signifying a # variable LASTEVENTINOLDROOM='' -HOMESERVER=chat.privacytools.io +HOMESERVER=matrix-client.matrix.org set -x