0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-15 22:42:23 +01:00

Remove unnecessary if

This commit is contained in:
Erik Johnston 2018-07-24 11:19:23 +01:00
parent 2581eb3e1d
commit 0fa73e4a63

View file

@ -428,8 +428,7 @@ class EventsStore(EventsWorkerStore):
delta = yield self._calculate_state_delta(
room_id, current_state,
)
if delta is not None:
state_delta_for_room[room_id] = delta
state_delta_for_room[room_id] = delta
yield self.runInteraction(
"persist_events",