summary refs log tree commit diff
path: root/tests/test_visibility.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2023-03-16 09:55:19 +0000
committerGitHub <noreply@github.com>2023-03-16 09:55:19 +0000
commitf54f877f273b7115777b93524983ea7455be5919 (patch)
tree3ccee941f7250623b1dba604122dae7fbe06d1e9 /tests/test_visibility.py
parentRemove unused class: DirectTcpReplicationClientFactory. (#15272) (diff)
downloadsynapse-f54f877f273b7115777b93524983ea7455be5919.tar.xz
Preparatory work to fix the user directory assuming that any remote membership state events represent a profile change. [rei:userdirpriv] (#14755)
* 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>
Diffstat (limited to 'tests/test_visibility.py')
0 files changed, 0 insertions, 0 deletions