Skip to content

Commit 8508793

Browse files
author
Daniel Borkan
committed
Cleanup reconnect_ logic
1 parent 8f410fe commit 8508793

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib/cloud/social/provider.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,6 @@ export class CloudSocialProvider {
416416
this.startMonitoringPresence_(invite.host);
417417
this.notifyOfUser_(this.savedContacts_[invite.host]);
418418
this.saveContacts_();
419-
420-
// Connect in the background in order to fetch metadata such as
421-
// the banner (description).
422-
this.reconnect_(invite).catch((e: Error) => {
423-
log.warn('failed to log into cloud server during invite accept: %1', e.message);
424-
});
425-
426419
return Promise.resolve();
427420
} catch (e) {
428421
return Promise.reject(new Error('could not parse invite code: ' + e.message));

0 commit comments

Comments
 (0)