mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 16:44:12 -04:00
Remove unnecessary if
This commit is contained in:
parent
2581eb3e1d
commit
0fa73e4a63
1 changed files with 1 additions and 2 deletions
|
@ -428,8 +428,7 @@ class EventsStore(EventsWorkerStore):
|
||||||
delta = yield self._calculate_state_delta(
|
delta = yield self._calculate_state_delta(
|
||||||
room_id, current_state,
|
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(
|
yield self.runInteraction(
|
||||||
"persist_events",
|
"persist_events",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue