Closed jaller94 closed 1 year ago
promises.concat() does not mutate the array, so possible this.onMode() promises are not awaited by Promise.all().
promises.concat()
this.onMode()
Promise.all()
https://github.com/matrix-org/matrix-appservice-irc/blob/ed0d64767db7fc7720d316326673e7c99f7947cf/src/bridge/RoomAccessSyncer.ts#L350-L364
promises.concat()
does not mutate the array, so possiblethis.onMode()
promises are not awaited byPromise.all()
.Relevant code
https://github.com/matrix-org/matrix-appservice-irc/blob/ed0d64767db7fc7720d316326673e7c99f7947cf/src/bridge/RoomAccessSyncer.ts#L350-L364