1
0

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:
Eric Eastwood
2024-08-22 19:38:54 -05:00
parent 92b38c1afd
commit 65c0fd5a61
2 changed files with 5 additions and 0 deletions
@@ -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(
+2
View File
@@ -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