Skip to content
Snippets Groups Projects
Commit 0fa73e4a authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove unnecessary if

parent 2581eb3e
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment