Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multi-device] Prevent showing inbox if secondary registration is ongoing #439

Merged

Conversation

sachaaaaa
Copy link

This PR ensures the inbox is shown only when the secondary device registration process is truly complete.

The current condition only checks for the existence of the key pair, which is not enough for secondary devices since they were created to send the authorisation request to the primary device. For secondary device, we also need to check the secondaryDeviceStatus, which is cleared after the registration is done.

@sachaaaaa sachaaaaa merged commit 7e0217d into oxen-io:multi-device Aug 28, 2019
@sachaaaaa sachaaaaa deleted the registration_done_secondary branch August 28, 2019 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants