From 9dfe96b32439f84a77ceb698ab30e5f75721647c Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 15 May 2022 20:56:52 +0300 Subject: [PATCH] matrix-upgrade-room.bash: update ROOMVERSION comment, bumb to 10 and update NEWROOMNAME template I hope I don't need to run this before v10 happens in hopefully near future, so I will bumb it now and forget this script, hopefully for a very long time --- bash/matrix-upgrade-room.bash | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bash/matrix-upgrade-room.bash b/bash/matrix-upgrade-room.bash index eea5b09..63cd70d 100755 --- a/bash/matrix-upgrade-room.bash +++ b/bash/matrix-upgrade-room.bash @@ -2,12 +2,13 @@ # Based on https://gist.github.com/turt2live/a99c8e794d6115d4ddfaadb72aabf063 -# Check https://matrix.org/docs/spec/#complete-list-of-room-versions before -# upgrading a room and change as necessary (WARNING: deprecated, no replacement -# that includes versions after 7 at the time of writing) -ROOMVERSION=9 +# Refer to https://spec.matrix.org/unstable/rooms/#complete-list-of-room-versions +# and room versions supported by your homeserver BEFORE adjusting/running this. +# Otherwise the target room version may be outdated or the last one I have +# ran this script for. +ROOMVERSION=10 ACCESSTOKEN= -NEWROOMNAME="" +NEWROOMNAME="CHANGEME (v$ROOMVERSION)" OLDROOMID= # Note: $ is not a character that worlks without quotes due to signifying a # variable