Add command to reset the megolm session in a room

This commit is contained in:
Tulir Asokan
2020-10-05 22:32:15 +03:00
parent f21f57f09f
commit 0f17863708
3 changed files with 21 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ type Crypto interface {
Decrypt(*event.Event) (*event.Event, error)
Encrypt(id.RoomID, event.Type, event.Content) (*event.EncryptedEventContent, error)
WaitForSession(id.RoomID, id.SenderKey, id.SessionID, time.Duration) bool
ResetSession(id.RoomID)
Init() error
Start()
Stop()