Skip to content

Commit

Permalink
bix bug in socket.io
Browse files Browse the repository at this point in the history
  • Loading branch information
itayher committed Dec 14, 2015
1 parent 207e296 commit d5553d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/backand.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,9 @@ function BackandAuthService ($q, $rootScope, BackandHttpBufferService, BackandSo

BackandHttpBufferService.retryAll();
$rootScope.$broadcast(EVENTS.SIGNIN);
BackandSocketService.login(BKStorage.token.get(), config.anonymousToken, config.appName, config.socketUrl);

if(config.runSocket)
BackandSocketService.login(BKStorage.token.get(), config.anonymousToken, config.appName, config.socketUrl);


} else if (self.loginPromise) {
Expand Down
Loading

0 comments on commit d5553d0

Please sign in to comment.