Apply suggestions from code review

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jason Robinson
2026-07-10 15:13:18 +03:00
committed by GitHub
co-authored by Andrew Morgan Copilot Autofix powered by AI
parent 30c5602cc4
commit c16dbe7dbc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ class ProfileUpdateAction(str, enum.Enum):
we always include the full profile of users who have joined a room the syncing
user is a member of, where full profile means all the current profile values the
client asked for, regardless of whether they have changed recently. This ensures
that clients have profile re-populated for any users who have recently left
that clients have profiles re-populated for any users who have recently left
shared rooms.
A scenario example would be as follows:
+1 -1
View File
@@ -655,7 +655,7 @@ class ProfileHandler:
field_name: str,
new_value: JsonValue | dict[str, JsonValue],
by_admin: bool = False,
propagate: bool = False,
propagate: bool = True,
) -> None:
"""
Dispatch setting a profile field value. This either happens in the same