File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -3567,21 +3567,9 @@ def test_rooms_required_state_incremental_sync(self) -> None:
3567
3567
)
3568
3568
self .assertEqual (channel .code , 200 , channel .json_body )
3569
3569
3570
- state_map = self .get_success (
3571
- self .storage_controllers .state .get_current_state (room_id1 )
3572
- )
3573
-
3574
- # The returned state doesn't change from initial to incremental sync. In the
3575
- # future, we will only return updates but only if we've sent the room down the
3570
+ # We only return updates but only if we've sent the room down the
3576
3571
# connection before.
3577
- self ._assertRequiredStateIncludes (
3578
- channel .json_body ["rooms" ][room_id1 ]["required_state" ],
3579
- {
3580
- state_map [(EventTypes .Create , "" )],
3581
- state_map [(EventTypes .RoomHistoryVisibility , "" )],
3582
- },
3583
- exact = True ,
3584
- )
3572
+ self .assertIsNone (channel .json_body ["rooms" ][room_id1 ].get ("required_state" ))
3585
3573
self .assertIsNone (channel .json_body ["rooms" ][room_id1 ].get ("invite_state" ))
3586
3574
3587
3575
def test_rooms_required_state_wildcard (self ) -> None :
You can’t perform that action at this time.
0 commit comments