Skip to content

Conversation

@Rhys-T
Copy link

@Rhys-T Rhys-T commented Feb 5, 2024

Chatterbox currently creates two instances of AccountSetupViewModel when it is opened for the first time. Each one registers a separate account on the server, and Chatterbox ends up crashing as a result. This change makes Chatterbox reuse the AccountSetupViewModel if it already exists, similarly to what 8aa7ba4 added for the ChatterboxViewModel.

Fixes #105.

@Wallum
Copy link

Wallum commented Feb 26, 2024

I cannot be 100% certain as to whether this is an issue pertaining to this "fix":
There is an error occurring on my local implementation of this where it appears there are "timeouts" of the clients and messages are not sent through to the homeserver - this is sporadic and difficult to replicate. Could this "timeout" be related to the double registration issue "fixed" here?

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.

Chatterbox registers two accounts when first opened, then crashes

2 participants