mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-24 02:03:42 +00:00
Fix test_sync_response_always_includes_the_user_themselves
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user