mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 03:25:53 +03:00
f54f877f27
* Remove special-case method for new memberships only, use more generic method * Only collect profiles from state events in public rooms * Add a table to track stale remote user profiles * Add store methods to set and delete rows in this new table * Mark remote profiles as stale when a member state event comes in to a private room * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Simplify by removing Optionality of `event_id` * Replace names and avatars with None if they're set to dodgy things I think this makes more sense anyway. * Move schema delta to 74 (I missed the boat?) * Turns out these can be None after all --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
1 line
No EOL
127 B
Text
1 line
No EOL
127 B
Text
Fix a long-standing bug in which the user directory would assume any remote membership state events represent a profile change. |