1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Update config

escape  old values starting with # by \# and eventually \*# by \# too
This commit is contained in:
rosbeef andino 2023-07-21 19:08:34 +00:00 committed by GitHub
parent 2e4e56ba1c
commit 086a58a74d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,7 @@ set__allowed_local_3pids_msisdn() {
get__auto_join_rooms() { get__auto_join_rooms() {
auto_join_rooms=$(ynh_app_setting_get --app $app --key auto_join_rooms) auto_join_rooms=$(ynh_app_setting_get --app $app --key auto_join_rooms)
auto_join_rooms=$(echo ${auto_join_rooms} | sed "s~(\\\\)*\#~\\\\\#~g")
echo "${auto_join_rooms}" echo "${auto_join_rooms}"
} }