E2E by default: Disable it if the HS admin disabled it

#3305
This commit is contained in:
manuroe
2020-06-24 17:08:14 +02:00
parent 07c82497f4
commit b28fcebd57
7 changed files with 76 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/sh
# ./getlogs.sh https://riot.im/bugreports/listing/2020-06-07/104229/
if [ ! $# -eq 1 ]; then
echo "Usage: ./getLogs.sh [http link]"
exit 1
fi
LOGS_URL=$1
ID=$( basename $LOGS_URL )
echo $ID
mkdir $ID
cd $ID
wget -r -nd --user=matrix --password=a^njerkoo=les $LOGS_URL
for f in *.log.gz; do
mv -- "$f" "${f%.log.gz}.log"
done
rm *.html