File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ee/packages/federation-matrix/src/api/_matrix Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ async function joinRoom({
169169 }
170170
171171 // backoff needed for this call, can fail
172- await room . joinUser ( inviteEvent . roomId , inviteEvent . stateKey ) ;
172+ await room . joinUser ( inviteEvent . roomId , inviteEvent . event . state_key ) ;
173173
174174 // now we create the room we saved post joining
175175 const matrixRoom = await state . getFullRoomState2 ( inviteEvent . roomId ) ;
@@ -312,7 +312,7 @@ export const acceptInvite = async (
312312 throw new Error ( 'User is native federated' ) ;
313313 }
314314
315- await services . room . joinUser ( inviteEvent . roomId , inviteEvent . stateKey ) ;
315+ await services . room . joinUser ( inviteEvent . roomId , inviteEvent . event . state_key ) ;
316316} ;
317317
318318export const getMatrixInviteRoutes = ( services : HomeserverServices ) => {
You can’t perform that action at this time.
0 commit comments