Persist canonical prototype user state
This commit is contained in:
parent
083be77404
commit
19c85db89a
2 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ async def test_get_or_create_user_is_stable_per_surface_identity():
|
|||
assert second.user_id == first.user_id
|
||||
assert second.is_new is False
|
||||
assert second.display_name == "Alice"
|
||||
assert store._users["matrix:@alice:example.org"].is_new is False
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue