Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Fix rejection of invites to unreachable servers #2145
Conversation
richvdh
added some commits
Apr 20, 2017
|
Tests at matrix-org/sytest#353 |
richvdh
assigned
erikjohnston
Apr 21, 2017
|
I'm surprised that the merged PR tests are fine and the commit ones aren't? Given the commit ones should be using the sytest branch of your PR |
|
retest this please |
|
except that doesn't trigger the right builds |
|
the fails seem reproducible so am investigating further |
|
right; the problem was in the tests. Now fixed in matrix-org/sytest@a7e9d38. Merging this since it seems fine. |
richvdh
merged commit 30f7bfa
into
develop
Apr 24, 2017
5 of 8 checks passed
This was referenced Apr 28, 2017
richvdh
added
the
stuck-invite
label
May 3, 2017
Matrixcoffee
referenced this pull request
in vector-im/riot-android
May 17, 2017
Closed
Allow invite notification to be removed if cannot reject/accept (server unreachable) #1223
psaavedra
added a commit
to psaavedra/synapse
that referenced
this pull request
May 19, 2017
uhoreg
referenced this pull request
in vector-im/riot-web
Jun 7, 2017
Open
Cannot reject invite from a dead/malfunctioning homeserver #4225
thekyriarchy
commented
Jul 11, 2017
|
i still have an invite that i cannot accept or reject because the room no longer exists |
richvdh commentedApr 21, 2017
•
edited
When we get a 500 from a remote server, or it is unreachable, mark the invite as locally rejected.
I'm slightly undecided as to whether this is a sensible thing to do; the problem is, of course, that if the remote server was having an off day rather than being permanently out of service, we're going to end up with the room being out of sync. Still, I think that's better than the current situation of not being able to do anything with an invite from an HS which has since disappeared.
This fixes #761