Skip to content

Commit be2a0d8

Browse files
authored
Merge pull request #7924 from Expensify/marcaaron-dontReauthenticateOn666
Do not reauthenticate Pusher if we failed for any reason other than expired session
2 parents 8266311 + 77ac89f commit be2a0d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libs/actions/Session/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@ function authenticatePusher(socketID, channelName, callback) {
511511
return;
512512
}
513513

514+
if (data.jsonCode !== 200) {
515+
Log.hmmm('[PusherConnectionManager] Unable to authenticate Pusher for some reason other than expired session');
516+
return;
517+
}
518+
514519
Log.info(
515520
'[PusherConnectionManager] Pusher authenticated successfully',
516521
false,

0 commit comments

Comments
 (0)