mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Return ErrRoomNoExists
if insufficient state is available for a buildEvent
to succeed when joining a room (#2210)
This may help cases like #2206, since it should prompt us to try a federated join again instead.
This commit is contained in:
parent
cf525d1f61
commit
aa6bbf484a
4 changed files with 18 additions and 3 deletions
|
@ -213,6 +213,12 @@ type MissingEventError string
|
|||
|
||||
func (e MissingEventError) Error() string { return string(e) }
|
||||
|
||||
// A MissingStateError is an error that happened because the roomserver was
|
||||
// missing requested state snapshots from its databases.
|
||||
type MissingStateError string
|
||||
|
||||
func (e MissingStateError) Error() string { return string(e) }
|
||||
|
||||
// A RejectedError is returned when an event is stored as rejected. The error
|
||||
// contains the reason why.
|
||||
type RejectedError string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue