gomuks/matrix/nocrypto.go
2022-04-15 12:53:09 +03:00

16 lines
285 B
Go

// This contains no-op stubs of the methods in crypto.go for non-cgo builds with crypto disabled.
//go:build !cgo
package matrix
func isBadEncryptError(err error) bool {
return false
}
func (c *Container) initCrypto() error {
return nil
}
func (c *Container) cryptoOnLogin() {}