diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-06 16:59:13 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-06 16:59:13 +0000 |
commit | 351c64e99e5677096f9a2ae2cd7e84dbc1887878 (patch) | |
tree | bac8773d7d9b114bb48af789a942967d450c7bd1 /synapse/storage/__init__.py | |
parent | Update to use replaces_state rather than prev_state (diff) | |
download | synapse-351c64e99e5677096f9a2ae2cd7e84dbc1887878.tar.xz |
Amalgamate all power levels.
Remove concept of reqired power levels, something similiar can be done using the new power level event.
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 2d62fc2ed0..2a1970914f 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -17,13 +17,9 @@ from twisted.internet import defer from synapse.api.events.room import ( RoomMemberEvent, RoomTopicEvent, FeedbackEvent, -# RoomConfigEvent, RoomNameEvent, RoomJoinRulesEvent, RoomPowerLevelsEvent, - RoomAddStateLevelEvent, - RoomSendEventLevelEvent, - RoomOpsPowerLevelsEvent, RoomRedactionEvent, ) @@ -166,14 +162,6 @@ class DataStore(RoomMemberStore, RoomStore, self._store_room_topic_txn(txn, event) elif event.type == RoomJoinRulesEvent.TYPE: self._store_join_rule(txn, event) - elif event.type == RoomPowerLevelsEvent.TYPE: - self._store_power_levels(txn, event) - elif event.type == RoomAddStateLevelEvent.TYPE: - self._store_add_state_level(txn, event) - elif event.type == RoomSendEventLevelEvent.TYPE: - self._store_send_event_level(txn, event) - elif event.type == RoomOpsPowerLevelsEvent.TYPE: - self._store_ops_level(txn, event) elif event.type == RoomRedactionEvent.TYPE: self._store_redaction(txn, event) |