Show that a partially-stated room updates current state with no_longer_in_room: False
``` SYNAPSE_TEST_LOG_LEVEL=INFO poetry run trial tests.handlers.test_federation.PartialJoinTestCase.test_failed_partial_join_is_clean ```
This commit is contained in:
@@ -1114,6 +1114,9 @@ class EventsPersistenceStorageController:
|
||||
if ev_id != existing_state.get(key)
|
||||
}
|
||||
|
||||
logger.info("asdf _calculate_state_delta existing_state %s", existing_state)
|
||||
logger.info("asdf _calculate_state_delta current_state %s", current_state)
|
||||
|
||||
return DeltaState(to_delete=to_delete, to_insert=to_insert)
|
||||
|
||||
async def _is_server_still_joined(
|
||||
|
||||
@@ -1131,6 +1131,8 @@ class PersistEventsStore:
|
||||
) -> None:
|
||||
"""Update the current state stored in the datatabase for the given room"""
|
||||
|
||||
logger.info("asdf state_delta: %s", state_delta)
|
||||
|
||||
if state_delta.is_noop():
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user