HomePhabricator
Diffusion Comm ecb0feb66ee3

[native] Handle error state when joining a community

Tags
None
Referenced Files
F500128: error.mov
Apr 27 2023, 7:15 AM
File Not Attached
Subscribers
None

Description

[native] Handle error state when joining a community

Summary:
When an error occurs, we're updating the params to let the user know that the link is invalid. This isn't ideal, as the error might be caused by e.g. a timeout and a link is still valid, but it is by far the simplest solution.

Depends on D7558

Test Plan: Introduce a sleep on server side and the throw. Check if the error state becomes enabled.

Reviewers: bartek, kamil, inka

Reviewed By: bartek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7559

Details

Provenance
tomekAuthored on Apr 21 2023, 4:06 AM
Reviewer
bartek
Differential Revision
D7559: [native] Handle error state when joining a community
Parents
rCOMMf9309a05c068: [native] Handle loading state when joining a community
Branches
Unknown
Tags
Unknown