Move enums to types.ts and change icons selection to use

`getRoomIconSrc`
This commit is contained in:
Tymek
2026-02-15 01:31:30 +01:00
parent 2a10347515
commit ee6875b95c
10 changed files with 28 additions and 24 deletions

View File

@@ -7,11 +7,11 @@ import {
Room,
} from 'matrix-js-sdk';
import { RoomJoinRulesEventContent } from 'matrix-js-sdk/lib/types';
import { CreateRoomKind } from './CreateRoomKindSelector';
import { RoomType, StateEvent } from '../../../types/matrix/room';
import { getViaServers } from '../../plugins/via-servers';
import { getMxIdServer } from '../../utils/matrix';
import { IPowerLevels } from '../../hooks/usePowerLevels';
import { CreateRoomKind } from './types';
export const createRoomCreationContent = (
type: RoomType | undefined,