Fix sqlite usage for mautrix-facebook/mautrix-telegram
Regression since2d99ade72f
and9bf8ce878e
, respectively. When SQLite is to be used, these bridges expect an `sqlite://` connection string, and not a plain file name (path), like Appservice Discord and mautrix-whatsapp do.
This commit is contained in:
parent
6c77eae969
commit
43d6ff2af8
|
@ -55,7 +55,7 @@ matrix_mautrix_facebook_postgres_connection_string: 'postgresql://{{ matrix_maut
|
||||||
|
|
||||||
matrix_mautrix_facebook_appservice_database: "{{
|
matrix_mautrix_facebook_appservice_database: "{{
|
||||||
{
|
{
|
||||||
'sqlite': matrix_mautrix_facebook_sqlite_database_path_in_container,
|
'sqlite': ('sqlite://' + matrix_mautrix_facebook_sqlite_database_path_in_container),
|
||||||
'postgres': matrix_mautrix_facebook_postgres_connection_string,
|
'postgres': matrix_mautrix_facebook_postgres_connection_string,
|
||||||
}[matrix_mautrix_facebook_database_engine]
|
}[matrix_mautrix_facebook_database_engine]
|
||||||
}}"
|
}}"
|
||||||
|
|
|
@ -66,7 +66,7 @@ matrix_mautrix_telegram_postgres_connection_string: 'postgresql://{{ matrix_maut
|
||||||
|
|
||||||
matrix_mautrix_telegram_appservice_database: "{{
|
matrix_mautrix_telegram_appservice_database: "{{
|
||||||
{
|
{
|
||||||
'sqlite': matrix_mautrix_telegram_sqlite_database_path_in_container,
|
'sqlite': ('sqlite://' + matrix_mautrix_telegram_sqlite_database_path_in_container),
|
||||||
'postgres': matrix_mautrix_telegram_postgres_connection_string,
|
'postgres': matrix_mautrix_telegram_postgres_connection_string,
|
||||||
}[matrix_mautrix_telegram_database_engine]
|
}[matrix_mautrix_telegram_database_engine]
|
||||||
}}"
|
}}"
|
||||||
|
|
Loading…
Reference in a new issue