mirror of https://github.com/hrfee/jfa-go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
306 B
18 lines
306 B
//go:build !e2ee
|
|
// +build !e2ee
|
|
|
|
package main
|
|
|
|
import "maunium.net/go/mautrix/id"
|
|
|
|
type Crypto struct{}
|
|
|
|
func MatrixE2EE() bool { return false }
|
|
|
|
func InitMatrixCrypto(d *MatrixDaemon) (err error) {
|
|
d.Encryption = false
|
|
return
|
|
}
|
|
|
|
func EncryptRoom(d *MatrixDaemon, roomID id.RoomID) error { return nil }
|