matrix-react-sdk
Version:
SDK for matrix.org using React
11 lines (10 loc) • 425 B
TypeScript
import { Room } from "matrix-js-sdk/src/matrix";
import { IOOBData } from "../stores/ThreepidInviteStore";
/**
* Determines the room name from a combination of the room model and potential
* out-of-band information
* @param room - The room model
* @param oobData - out-of-band information about the room
* @returns {string} the room name
*/
export declare function useRoomName(room?: Room, oobData?: IOOBData): string;