Improve types for sendStateEvent (#12331)
This commit is contained in:
committed by
GitHub
parent
4a05de485e
commit
2cbf92860b
@@ -131,7 +131,7 @@ export async function upgradeRoom(
|
||||
EventType.SpaceChild,
|
||||
{
|
||||
...(currentEv?.getContent() || {}), // copy existing attributes like suggested
|
||||
via: [cli.getDomain()],
|
||||
via: [cli.getDomain()!],
|
||||
},
|
||||
newRoomId,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user