1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00
jfa-go/matrix_nocrypto.go

20 lines
331 B
Go
Raw Permalink 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 }