2017-11-04 15:34:59 -04:00
|
|
|
User Directory API Implementation
|
|
|
|
=================================
|
|
|
|
|
|
|
|
The user directory is currently maintained based on the 'visible' users
|
|
|
|
on this particular server - i.e. ones which your account shares a room with, or
|
|
|
|
who are present in a publicly viewable room present on the server.
|
|
|
|
|
|
|
|
The directory info is stored in various tables, which can (typically after
|
|
|
|
DB corruption) get stale or out of sync. If this happens, for now the
|
2019-11-21 12:38:14 -05:00
|
|
|
solution to fix it is to execute the SQL [here](../synapse/storage/data_stores/main/schema/delta/53/user_dir_populate.sql)
|
2019-05-28 21:53:56 -04:00
|
|
|
and then restart synapse. This should then start a background task to
|
2017-11-04 15:34:59 -04:00
|
|
|
flush the current tables and regenerate the directory.
|