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
This commit is contained in:
Aminda Suomalainen 2022-05-15 20:56:52 +03:00
parent beef3845a6
commit 9dfe96b324
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 6 additions and 5 deletions

View File

@ -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