copy tags returned by listeners instead of mutating them in place

This commit is contained in:
Riccardo Balbo 2026-03-25 17:37:38 +01:00
commit 3c52d5d49d

View file

@ -356,7 +356,7 @@ class NWCServiceProvider:
res: dict = { res: dict = {
"kind": 23195, "kind": 23195,
"created_at": int(time.time()), "created_at": int(time.time()),
"tags": out.get("tags", []), "tags": list(out.get("tags", [])),
"content": self._json_dumps(content), "content": self._json_dumps(content),
} }
# Reference request # Reference request