matrix-appservice-bridge
    Preparing search index...

    Class RoomUpgradeHandler

    Handles migration of rooms when a room upgrade is performed.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Called when an invite event reaches the bridge. This function will check if the invite is from an upgraded room, and will join the room if so.

      Parameters

      • ev: { room_id: string }

        A Matrix m.room.member event of membership=invite directed to the bridge bot

      Returns Promise<boolean>

      True if the invite is from an upgraded room and shouldn't be processed.

    • Called when the bridge sees a "m.room.tombstone" event.

      Parameters

      • ev: { content: { replacement_room: string }; room_id: string; sender: string }

        The m.room.tombstone event.

      Returns Promise<boolean>