0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 08:54:02 +01:00

ircd:Ⓜ️:event::fetch: Disallow the json query by default for now.

This commit is contained in:
Jason Volk 2019-01-19 16:50:40 -08:00
parent c634b23840
commit de8d14da5b

View file

@ -106,7 +106,7 @@ struct ircd::m::event::fetch::opts
/// Whether to allow querying the event_json to populate the event. A value
/// of true only allows this type of query to be made; a value of false
/// prevents this query from ever being made.
bool query_json {true};
bool query_json {false};
/// Whether to force an attempt at populating the event from event_json
/// first, bypassing any decision-making. This is useful if a key selection