Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Ignore failing group users response #2295

Closed
wants to merge 1 commit into from

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Nov 23, 2018

Synapse is currently known (matrix-org/synapse#2633) to return 500 errors for
requests to /groups/$groupId/users when a user has multiple invites to the
group.

If you are affected by this issue, Riot will display a community invite when you
select it for a few seconds until it receives this 500 error, but then it will
replace the invite view with a "Failed to load " message.

By ignoring this error response in Riot for now, it is possible to view and
accept the invite.

Fixes element-hq/element-web#7727.

Signed-off-by: J. Ryan Stinnett jryans@gmail.com

Synapse is currently known (matrix-org/synapse#2633) to return 500 errors for
requests to `/groups/$groupId/users` when a user has multiple invites to the
group.

If you are affected by this issue, Riot will display a community invite when you
select it for a few seconds until it receives this 500 error, but then it will
replace the invite view with a "Failed to load <group>" message.

By ignoring this error response in Riot for now, it is possible to view and
accept the invite.

Fixes element-hq/element-web#7727.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
@turt2live
Copy link
Member

I'd honestly prefer if we at least had a message saying "failed to load community members" on the right side. @lampholder wdyt?

@lampholder
Copy link
Member

I agree - if we express the error condition somehow at least it looks like something is wrong (rather than this is just a community with somehow no members).

@jryans
Copy link
Collaborator Author

jryans commented Nov 27, 2018

Thanks for the feedback! I agree it does seem better to keep the error visible for both the user to be informed and to keep pressure on Synapse to fix the root cause.

Since that's a very different approach, I'll close this and open a new PR for that.

@jryans jryans closed this Nov 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants