MatrixSynapse/synapse
Sean Quah 158782c3ce
Skip soft fail checks for rooms with partial state ()
When a room has the partial state flag, we may not have an accurate
`m.room.member` event for event senders in the room's current state, and
so cannot perform soft fail checks correctly. Skip the soft fail check
entirely in this case.

As an alternative, we could block until we have full state, but that
would prevent us from receiving incoming events over federation, which
is undesirable.

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-07-22 10:13:01 +01:00
..
_scripts
api
app
appservice
config
crypto
events
federation
handlers Skip soft fail checks for rooms with partial state () 2022-07-22 10:13:01 +01:00
http
logging
metrics
module_api
push
replication
res
rest
server_notices
spam_checker_api
state
static
storage
streams
util
__init__.py
event_auth.py
notifier.py
py.typed
server.py
types.py
visibility.py