aboutsummaryrefslogtreecommitdiff
path: root/syncapi/routing
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2022-07-18 14:46:15 +0200
committerGitHub <noreply@github.com>2022-07-18 14:46:15 +0200
commita7e92f8cb99105c2a579f73fbc972b7fb0b35678 (patch)
treed9df6aa7b9aa2321f9833fd964c108f2481153ff /syncapi/routing
parentc0c909d30642d03600fd48bd052a22040a67267b (diff)
History visibility database changes (#2533)
* Add new history_visibility column * Update SQL queries to include history_visibility * Store the history visibilty calculated by the roomserver * Update GMSL * Update migrations * Fix migration * Update GMSL * Fix `go.sum` * Update GMSL to use sql.Scanner & sql.Valuer * Re-order migration/table creation * Update gomatrixserverlib * Add history_visibility column to current_room_state * Fix migrations * Return error instead of Fatal log Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'syncapi/routing')
-rw-r--r--syncapi/routing/messages.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go
index 24745cd5..990ca55b 100644
--- a/syncapi/routing/messages.go
+++ b/syncapi/routing/messages.go
@@ -594,6 +594,7 @@ func (r *messagesReq) backfill(roomID string, backwardsExtremities map[string][]
[]string{},
[]string{},
nil, true,
+ gomatrixserverlib.HistoryVisibilityShared,
)
if err != nil {
return nil, err