Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActivityTrackerOpts

Hierarchy

  • ActivityTrackerOpts

Index

Properties

defaultOnline

defaultOnline: boolean

Should the tracker assume offline or online if it doesn't have enough information.

serverName

serverName: string

Matrix server name. Used for determining local and remote users.

example

matrix.org

Optional usePresence

usePresence?: boolean

Should presence be used. Set to false if the homeserver has presence disabled.

Methods

Optional onLastActiveTimeUpdated

  • onLastActiveTimeUpdated(userId: string, ts: number): void | Promise<void>

Generated using TypeDoc