You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-17 17:42:41 +03:00
Fix big with rejecting promises upon error
This commit is contained in:
@@ -100,7 +100,7 @@ async function batchedGetPublicGroups(matrixClient) {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
// Propagate the same error to all usersInFlight
|
// Propagate the same error to all usersInFlight
|
||||||
usersInFlight.forEach((userId) => {
|
usersInFlight.forEach((userId) => {
|
||||||
usersPending[userId].prom.reject(err);
|
usersPending[userId].reject(err);
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user