mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
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:
@@ -3,7 +3,10 @@
|
||||
|
||||
package main
|
||||
|
||||
import "maunium.net/go/mautrix/id"
|
||||
import (
|
||||
"github.com/hrfee/jfa-go/logger"
|
||||
"maunium.net/go/mautrix/id"
|
||||
)
|
||||
|
||||
type Crypto struct{}
|
||||
|
||||
@@ -11,7 +14,7 @@ func BuildTagsE2EE() {}
|
||||
|
||||
func MatrixE2EE() bool { return false }
|
||||
|
||||
func InitMatrixCrypto(d *MatrixDaemon) (err error) {
|
||||
func InitMatrixCrypto(d *MatrixDaemon, logger *logger.Logger) (err error) {
|
||||
d.Encryption = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user