Files
jfa-go/matrix_nocrypto.go
Harvey Tindall 0783749e6e 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.
2025-08-31 17:59:49 +01:00

23 lines
393 B
Go

//go:build !e2ee
// +build !e2ee
package main
import (
"github.com/hrfee/jfa-go/logger"
"maunium.net/go/mautrix/id"
)
type Crypto struct{}
func BuildTagsE2EE() {}
func MatrixE2EE() bool { return false }
func InitMatrixCrypto(d *MatrixDaemon, logger *logger.Logger) (err error) {
d.Encryption = false
return
}
func EncryptRoom(d *MatrixDaemon, roomID id.RoomID) error { return nil }