forked-synapse/synapse
Brendan Abolivier 487f1bb49d
Use the filtered version of an event when responding to /context requests for that event
Sometimes the filtering function can return a pruned version of an event (on top of either the event itself or an empty list), if it thinks the user should be able to see that there's an event there but not the content of that event. Therefore, the previous logic of 'if filtered is empty then we can use the event we retrieved from the database' is flawed, and we should use the event returned by the filtering function.
2019-12-16 12:14:12 +00:00
..
_scripts Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Merge pull request #6329 from matrix-org/babolivier/context_filters 2019-12-04 15:24:16 +00:00
app Make the PusherSlaveStore inherit from the slave RoomStore 2019-12-10 12:31:03 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config privacy by default for room dir (#6355) 2019-12-04 09:46:16 +00:00
crypto Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
events Merge branch 'develop' into babolivier/message_retention 2019-11-26 17:53:57 +00:00
federation Remove fallback for missing /federation/v1/state_ids API (#6488) 2019-12-09 11:37:26 +00:00
groups Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
handlers Use the filtered version of an event when responding to /context requests for that event 2019-12-16 12:14:12 +00:00
http Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
logging Add benchmarks for structured logging performance (#6266) 2019-12-03 20:21:25 +11:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
push Don't call SQLBaseStore methods from outside stores 2019-12-04 16:23:43 +00:00
replication Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Back out change preventing setting null avatar URLs 2019-12-11 11:46:55 +00:00
server_notices Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state Fix bug which caused rejected events to be stored with the wrong room state (#6320) 2019-11-06 10:01:39 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Merge branch 'erikj/fix_sqlite_7' of github.com:matrix-org/synapse into release-v1.7.0 2019-12-11 11:34:50 +00:00
streams Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
util Fix inaccurate per-block metrics (#6491) 2019-12-09 11:55:30 +00:00
__init__.py 1.7.0 2019-12-13 10:19:53 +00:00
event_auth.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
notifier.py Port SyncHandler to async/await 2019-12-05 17:58:25 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Pass Database into the data store 2019-12-06 15:49:44 +00:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Lint 2019-11-28 20:35:22 +00:00