Let mautrix-python handle registration generation message

This commit is contained in:
Tulir Asokan
2021-02-21 17:24:35 +02:00
parent 429cb07b79
commit 6020cdf8bf

View File

@@ -26,9 +26,6 @@ fi
if [ ! -f /data/registration.yaml ]; then
python3 -m mautrix_telegram -g -c /data/config.yaml -r /data/registration.yaml
echo "Didn't find a registration file."
echo "Generated one for you."
echo "Copy that over to synapses app service directory."
fixperms
exit
fi