We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c2c95 commit 5b05554Copy full SHA for 5b05554
ee/packages/federation-matrix/src/api/_matrix/invite.ts
@@ -356,16 +356,14 @@ export const getMatrixInviteRoutes = (services: HomeserverServices) => {
356
// we first return 200 and then we join the room
357
// this helps the other side giving extra time to store the invite event
358
359
- c.env.res.on('finish', () => {
360
- setTimeout(() => {
361
- void startJoiningRoom({
362
- inviteEvent,
363
- user: ourUser,
364
- room,
365
- state,
366
- });
367
- }, 2000);
368
+ setTimeout(() => {
+ void startJoiningRoom({
+ inviteEvent,
+ user: ourUser,
+ room,
+ state,
+ });
+ }, 2000);
369
370
return {
371
body: {
0 commit comments