Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit fbf904b

Browse files
authored
Fix media thumbnails being unusable before the index had been added in the background. (#12823)
1 parent 39dee30 commit fbf904b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.d/12823.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug, introduced in Synapse 1.21.0, that led to media thumbnails being unusable before the index has been added in the background.

synapse/storage/database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
"device_lists_remote_extremeties": "device_lists_remote_extremeties_unique_idx",
9191
"device_lists_remote_cache": "device_lists_remote_cache_unique_idx",
9292
"event_search": "event_search_event_id_idx",
93+
"local_media_repository_thumbnails": "local_media_repository_thumbnails_method_idx",
94+
"remote_media_cache_thumbnails": "remote_media_repository_thumbnails_method_idx",
9395
}
9496

9597

0 commit comments

Comments
 (0)