1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-08 19:30:10 +00:00
jfa-go/matrix_nocrypto.go

20 lines
331 B
Go
Raw Normal View History

//go:build !e2ee
// +build !e2ee
package main
import "maunium.net/go/mautrix/id"
2021-07-16 16:11:17 +00:00
type Crypto struct{}
func BuildTagsE2EE() {}
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 }