Skip to content

Commit

Permalink
Force resolve wsPromsie upon recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed May 29, 2020
1 parent b8855df commit 1c5323d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,9 @@ export class StreamChat {
type: 'connection.recovered',
});
}

this.wsPromise = Promise.resolve();
this.setUserPromise = Promise.resolve();
};

/*
Expand Down

0 comments on commit 1c5323d

Please sign in to comment.