aboutsummaryrefslogtreecommitdiff
path: root/roomserver/api/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/api/query.go')
-rw-r--r--roomserver/api/query.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/roomserver/api/query.go b/roomserver/api/query.go
index 9120da4b..5f024d26 100644
--- a/roomserver/api/query.go
+++ b/roomserver/api/query.go
@@ -203,6 +203,9 @@ type QueryStateAndAuthChainRequest struct {
PrevEventIDs []string `json:"prev_event_ids"`
// The list of auth events for the event. Used to calculate the auth chain
AuthEventIDs []string `json:"auth_event_ids"`
+ // Should state resolution be ran on the result events?
+ // TODO: check call sites and remove if we always want to do state res
+ ResolveState bool `json:"resolve_state"`
}
// QueryStateAndAuthChainResponse is a response to QueryStateAndAuthChain