Class BridgeInfoStateSyncer<BridgeMappingInfo>

This class ensures that rooms contain a valid bridge info event (MSC2346) which displays the connected protocol, network and room.

Type Parameters

  • BridgeMappingInfo

Constructors

Properties

EventType: "uk.half-shot.bridge" = "uk.half-shot.bridge"

Methods

  • Parameters

    Returns Promise<{
        content: MSC2346Content;
        state_key: string;
        type: string;
    }>

  • Parameters

    Returns string

  • Check all rooms and ensure they have correct state.

    Parameters

    • allMappings: Record<string, BridgeMappingInfo[]>

      All bridged room mappings

    • concurrency: number = 3

      How many rooms to handle at a time, defaults to 3.

    Returns Promise<void>

Generated using TypeDoc