mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-26 13:26:18 -05:00
Convert room member storage tuples to attrs. (#10629)
Instead of using namedtuples. This helps with asserting type hints and code completion.
This commit is contained in:
parent
6e613a10d0
commit
bec01c0758
7 changed files with 55 additions and 30 deletions
|
|
@ -365,7 +365,7 @@ class UserDirectoryBackgroundUpdateStore(StateDeltasStore):
|
|||
return False
|
||||
|
||||
async def update_profile_in_user_dir(
|
||||
self, user_id: str, display_name: str, avatar_url: str
|
||||
self, user_id: str, display_name: Optional[str], avatar_url: Optional[str]
|
||||
) -> None:
|
||||
"""
|
||||
Update or add a user's profile in the user directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue