chore: only download inbound invites when signed in
This commit is contained in:
@@ -119,6 +119,9 @@ export class VaultInviteService
|
|||||||
await this.processInboundInvites(event.payload as SyncEventReceivedSharedVaultInvitesData)
|
await this.processInboundInvites(event.payload as SyncEventReceivedSharedVaultInvitesData)
|
||||||
break
|
break
|
||||||
case ApplicationEvent.Launched:
|
case ApplicationEvent.Launched:
|
||||||
|
if (!this.session.isSignedIn()) {
|
||||||
|
return
|
||||||
|
}
|
||||||
void this.downloadInboundInvites()
|
void this.downloadInboundInvites()
|
||||||
break
|
break
|
||||||
case WebSocketsServiceEvent.UserInvitedToSharedVault:
|
case WebSocketsServiceEvent.UserInvitedToSharedVault:
|
||||||
|
|||||||
Reference in New Issue
Block a user