forked-synapse/changelog.d/11194.misc
Patrick Cloke 19d5dc6931
Refactor Filter to handle fields according to data being filtered. (#11194)
This avoids filtering against fields which cannot exist on an
event source. E.g. presence updates don't have a room.
2021-10-27 11:26:30 -04:00

2 lines
72 B
Plaintext

Refactor `Filter` to check different fields depending on the data type.