mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:13:51 +01:00
Lint
This commit is contained in:
parent
c6dbca2422
commit
57cdb046e4
2 changed files with 2 additions and 1 deletions
|
@ -142,5 +142,6 @@ class LimitBlockingTypes(object):
|
|||
|
||||
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"
|
||||
|
|
|
@ -29,7 +29,7 @@ from prometheus_client import Counter, Histogram
|
|||
from twisted.internet import defer
|
||||
|
||||
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.events import EventBase # noqa: F401
|
||||
from synapse.events.snapshot import EventContext # noqa: F401
|
||||
|
|
Loading…
Reference in a new issue