This commit is contained in:
Brendan Abolivier 2019-11-01 10:39:14 +00:00
parent c6dbca2422
commit 57cdb046e4
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
2 changed files with 2 additions and 1 deletions

View File

@ -142,5 +142,6 @@ class LimitBlockingTypes(object):
class EventContentFields(object): class EventContentFields(object):
"""Fields found in events' content, regardless of type.""" """Fields found in events' content, regardless of type."""
# Labels for the event, cf https://github.com/matrix-org/matrix-doc/pull/2326 # Labels for the event, cf https://github.com/matrix-org/matrix-doc/pull/2326
Labels = "org.matrix.labels" Labels = "org.matrix.labels"

View File

@ -29,7 +29,7 @@ from prometheus_client import Counter, Histogram
from twisted.internet import defer from twisted.internet import defer
import synapse.metrics import synapse.metrics
from synapse.api.constants import EventTypes, EventContentFields from synapse.api.constants import EventContentFields, EventTypes
from synapse.api.errors import SynapseError from synapse.api.errors import SynapseError
from synapse.events import EventBase # noqa: F401 from synapse.events import EventBase # noqa: F401
from synapse.events.snapshot import EventContext # noqa: F401 from synapse.events.snapshot import EventContext # noqa: F401