matrix-react-sdk
Version:
SDK for matrix.org using React
11 lines (10 loc) • 544 B
TypeScript
import { ActionPayload } from "../../../dispatcher/payloads";
import RightPanelStore from "../RightPanelStore";
/**
* Handle an Action.View3pidInvite action.
* Where payload has an event, open the right panel with 3pid room member info without clearing right panel history.
* Otherwise, 'close' the 3pid member info by displaying the room member list in the right panel.
* @param payload
* @param rightPanelStore store instance
*/
export declare const onView3pidInvite: (payload: ActionPayload, rightPanelStore: RightPanelStore) => void;