diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-11-01 17:04:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 17:04:45 +0000 |
commit | f496d2587723b0e802c49c210476266a19733f55 (patch) | |
tree | 9a2ea1817fdddec2f719e4ffe5d3150bf6f8599c /synapse/api/constants.py | |
parent | Factor out an _AsyncEventContextImpl (#6298) (diff) | |
parent | Incorporate review (diff) | |
download | synapse-f496d2587723b0e802c49c210476266a19733f55.tar.xz |
Merge pull request #6301 from matrix-org/babolivier/msc2326
Implement MSC2326 (label based filtering)
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 312196675e..49c4b85054 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -138,3 +138,10 @@ class LimitBlockingTypes(object): MONTHLY_ACTIVE_USER = "monthly_active_user" HS_DISABLED = "hs_disabled" + + +class EventContentFields(object): + """Fields found in events' content, regardless of type.""" + + # Labels for the event, cf https://github.com/matrix-org/matrix-doc/pull/2326 + LABELS = "org.matrix.labels" |