From 1f4f0ddf26b7aa45f27e16be45a56f40c53f9846 Mon Sep 17 00:00:00 2001 From: DMRobertson Date: Fri, 10 Sep 2021 09:54:59 +0000 Subject: deploy: 318162f5debc595d3381337fe363fa7936cc7843 --- develop/print.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'develop/print.html') diff --git a/develop/print.html b/develop/print.html index 595303faaf..1103df6b4f 100644 --- a/develop/print.html +++ b/develop/print.html @@ -7343,6 +7343,52 @@ DB corruption) get stale or out of sync. If this happens, for now the solution to fix it is to execute the SQL here and then restart synapse. This should then start a background task to flush the current tables and regenerate the directory.

+

Data model

+

There are five relevant tables that collectively form the "user directory". +Three of them track a master list of all the users we could search for. +The last two (collectively called the "search tables") track who can +see who.

+

From all of these tables we exclude three types of local user:

+ +

Message retention policies

Synapse admins can enable support for message retention policies on their homeserver. Message retention policies exist at a room level, -- cgit 1.5.1