Get the HTTP URL for an MXC URI.
The base homeserver url which has a content repo.
The mxc:// URI.
The desired width of the thumbnail.
The desired height of the thumbnail.
The thumbnail resize method to use, either "crop" or "scale".
If true, return any non-mxc URLs directly. Fetching such URLs will leak information about the user to anyone they share a room with. If false, will return the emptry string for such URLs.
The complete URL to the content. May be empty string if mxc is not a string.
Default values used by the queue if not specified.
Get the current version of the bridge from the package.json file.
The path to the package.json of the bridge.
Either the version number, or unknown.
Forcibly set the version of the bridge, for use by other components.
This will override getBridgeVersion
s default behaviour of fetching the
version from package.json.
A version string e.g. v1.0.0
Generated using TypeDoc
Caches membership of virtual users to rooms in memory and also stores the state of whether users are registered.