mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 05:33:53 +01:00
Don't corrupt shared cache on subsequent protocol requests
This commit is contained in:
parent
2f267ee160
commit
033d43e419
1 changed files with 2 additions and 0 deletions
|
@ -201,7 +201,9 @@ class ApplicationServicesHandler(object):
|
|||
|
||||
# Merge the 'instances' lists of multiple results, but just take
|
||||
# the other fields from the first as they ought to be identical
|
||||
# deep-clone the result so as not to corrupt the cached one
|
||||
combined = dict(infos[0])
|
||||
combined["instances"] = list(combined["instances"])
|
||||
|
||||
for info in infos[1:]:
|
||||
combined["instances"].extend(info["instances"])
|
||||
|
|
Loading…
Reference in a new issue