refactor to mautrix 0.17.x; update deps
This commit is contained in:
20
vendor/maunium.net/go/mautrix/crypto/olm/olm_goolm.go
generated
vendored
Normal file
20
vendor/maunium.net/go/mautrix/crypto/olm/olm_goolm.go
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
//go:build goolm
|
||||
|
||||
package olm
|
||||
|
||||
import (
|
||||
"maunium.net/go/mautrix/id"
|
||||
)
|
||||
|
||||
// Signatures is the data structure used to sign JSON objects.
|
||||
type Signatures map[id.UserID]map[id.DeviceKeyID]string
|
||||
|
||||
// Version returns the version number of the olm library.
|
||||
func Version() (major, minor, patch uint8) {
|
||||
return 3, 2, 15
|
||||
}
|
||||
|
||||
// SetPickleKey sets the global pickle key used when encoding structs with Gob or JSON.
|
||||
func SetPickleKey(key []byte) {
|
||||
panic("gob and json encoding is deprecated and not supported with goolm")
|
||||
}
|
||||
Reference in New Issue
Block a user