mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-09 20:00:12 +00:00
20 lines
331 B
Go
20 lines
331 B
Go
//go:build !e2ee
|
|
// +build !e2ee
|
|
|
|
package main
|
|
|
|
import "maunium.net/go/mautrix/id"
|
|
|
|
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 }
|