Class EncryptionAlgorithmAbstract

base type for encryption implementations

Constructors

Properties

baseApis: MatrixClient
crypto: Crypto
deviceId: string
olmDevice: OlmDevice
userId: string

Methods

  • Called when the membership of a member of the room changes.

    Parameters

    • event: MatrixEvent

      event causing the change

    • member: RoomMember

      user whose membership changed

    • OptionaloldMembership: string

      previous membership

    Returns void

  • Perform any background tasks that can be done before a message is ready to send, in order to speed up sending of the message.

    Parameters

    • room: Room

      the room the event is in

    Returns void