Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -18,7 +18,7 @@ import { Room } from "matrix-js-sdk/src/matrix";
|
|||
|
||||
import { LocalRoom, LOCAL_ROOM_ID_PREFIX } from "../../models/LocalRoom";
|
||||
|
||||
export function isLocalRoom(roomOrID: Room|string): boolean {
|
||||
export function isLocalRoom(roomOrID: Room | string): boolean {
|
||||
if (typeof roomOrID === "string") {
|
||||
return roomOrID.startsWith(LOCAL_ROOM_ID_PREFIX);
|
||||
}
|
||||
|
|
|
@ -21,10 +21,7 @@ import { LocalRoom } from "../../models/LocalRoom";
|
|||
/**
|
||||
* Tests whether a room created based on a local room is ready.
|
||||
*/
|
||||
export function isRoomReady(
|
||||
client: MatrixClient,
|
||||
localRoom: LocalRoom,
|
||||
): boolean {
|
||||
export function isRoomReady(client: MatrixClient, localRoom: LocalRoom): boolean {
|
||||
// not ready if no actual room id exists
|
||||
if (!localRoom.actualRoomId) return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue