0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 07:33:47 +01:00
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