mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 02:05:24 +00:00
comment
This commit is contained in:
parent
9cbd0094f0
commit
ed5331a627
@ -1916,6 +1916,8 @@ class EventsStore(EventFederationStore, EventsWorkerStore, BackgroundUpdateStore
|
|||||||
should_delete_params = ()
|
should_delete_params = ()
|
||||||
if not delete_local_events:
|
if not delete_local_events:
|
||||||
should_delete_expr += " AND event_id NOT LIKE ?"
|
should_delete_expr += " AND event_id NOT LIKE ?"
|
||||||
|
|
||||||
|
# We include the parameter twice since we use the expression twice
|
||||||
should_delete_params += (
|
should_delete_params += (
|
||||||
"%:" + self.hs.hostname,
|
"%:" + self.hs.hostname,
|
||||||
"%:" + self.hs.hostname,
|
"%:" + self.hs.hostname,
|
||||||
|
Loading…
Reference in New Issue
Block a user