Options
All
  • Public
  • Public/Protected
  • All
Menu

Room encryption settings which are modified by state events or user options

Hierarchy

  • RoomSettings

Index

Constructors

  • Create a new RoomSettings with default values.

    Returns RoomSettings

Properties

The encryption algorithm that should be used in the room.

Should be one of the members of EncryptionAlgorithm.

onlyAllowTrustedDevices: boolean

Whether untrusted devices should receive room keys. If this is false, they will be excluded from the conversation.

sessionRotationPeriodMessages?: number

The maximum number of messages an encryption session should be used for, before it is rotated.

sessionRotationPeriodMs?: number

The maximum time, in milliseconds, that an encryption session should be used for, before it is rotated.

Methods

  • free(): void
  • Returns void

Generated using TypeDoc