We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 192a6f7 commit da7e3a8Copy full SHA for da7e3a8
packages/federation-sdk/src/services/invite.service.ts
@@ -228,6 +228,10 @@ export class InviteService {
228
229
await this.stateService.signEvent(inviteEvent);
230
231
+ // we have no specific structure to store the invite_room_state received on the invite route,
232
+ // so we store it in the unsigned section of the invite event.
233
+ inviteEvent.event.unsigned.invite_room_state = strippedStateEvents;
234
+
235
// check if we are already in the room, if so we can handlePdu because we have the state and should save
236
// the invite in the state as well
237
const createEvent = await this.eventRepository.findByRoomIdAndType(
0 commit comments