Fix test_sync_response_always_includes_the_user_themselves

This commit is contained in:
Jason Robinson committed 2026-07-16 23:42:22 +03:00
1 parent 7afa1956c3
commit cb9e1e55b9
1 file changed
+3
@@ -876,6 +876,9 @@ class ProfileWorkerStore(SQLBaseStore):
# No point writing an update for ourselves, if a membership change and no
# other users interested
return None
elif action == ProfileUpdateAction.UPDATE:
# Always include ourselves when updating field values
target_users.add(user_id.to_string())
# Record the profile update
inserted_ts = self.clock.time_msec()