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
Harvey Tindall ab3989f233
admin: add build tags to "About"
build tags like e2ee and external are now included in the about page.
2024-08-11 17:55:12 +01:00

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 }