mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 05:12:46 +00:00
Improved state handling in /send (#1521)
* Capture errors * Don't request only state key tuples needed for auth (we end up discarding room state this way) * QueryStateAfterEvent returns all state when no tuples supplied * Resolve state * Comments
This commit is contained in:
parent
20aec70ead
commit
7a1fd123de
4 changed files with 48 additions and 18 deletions
|
@ -63,7 +63,8 @@ type QueryStateAfterEventsRequest struct {
|
|||
RoomID string `json:"room_id"`
|
||||
// The list of previous events to return the events after.
|
||||
PrevEventIDs []string `json:"prev_event_ids"`
|
||||
// The state key tuples to fetch from the state
|
||||
// The state key tuples to fetch from the state. If none are specified then
|
||||
// the entire resolved room state will be returned.
|
||||
StateToFetch []gomatrixserverlib.StateKeyTuple `json:"state_to_fetch"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue