From 3c52d5d49df0d8a0ac8568807cbc38708d2e749a Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Wed, 25 Mar 2026 17:37:38 +0100 Subject: [PATCH] copy tags returned by listeners instead of mutating them in place --- nwcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nwcp.py b/nwcp.py index 6e254d5..cfa7f82 100644 --- a/nwcp.py +++ b/nwcp.py @@ -356,7 +356,7 @@ class NWCServiceProvider: res: dict = { "kind": 23195, "created_at": int(time.time()), - "tags": out.get("tags", []), + "tags": list(out.get("tags", [])), "content": self._json_dumps(content), } # Reference request