Pass around MatrixClients instead of using MatrixClientPeg (#11000)
This commit is contained in:
committed by
GitHub
parent
aa5a2e1363
commit
938aefc51c
@@ -336,7 +336,7 @@ const SpaceSetupFirstRooms: React.FC<{
|
||||
const filteredRoomNames = roomNames.map((name) => name.trim()).filter(Boolean);
|
||||
const roomIds = await Promise.all(
|
||||
filteredRoomNames.map((name) => {
|
||||
return createRoom({
|
||||
return createRoom(space.client, {
|
||||
createOpts: {
|
||||
preset: isPublic ? Preset.PublicChat : Preset.PrivateChat,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user