matrix: add log for matrix crypto store init

deleting the crypto DB resulted in InitMatrixCrypto taking ages, added a
Initing/Inited log pair around the function so it's obvious this is the
culprit if any one else faces the same thing.
This commit is contained in:
Harvey Tindall
2025-08-31 17:58:13 +01:00
parent 87c0f54a8d
commit 0783749e6e
4 changed files with 19 additions and 10 deletions

View File

@@ -101,7 +101,7 @@ func newMatrixDaemon(app *appContext) (d *MatrixDaemon, err error) {
d.languages[id.RoomID(user.RoomID)] = user.Lang
}
}
err = InitMatrixCrypto(d)
err = InitMatrixCrypto(d, app.info)
return
}