diff --git a/.github/workflows/update-topics.yaml b/.github/workflows/update-topics.yaml index 2b5b0bedde..1f6be1f615 100644 --- a/.github/workflows/update-topics.yaml +++ b/.github/workflows/update-topics.yaml @@ -55,6 +55,11 @@ jobs: console.log(roomId, "nothing to do"); return; } + if (data["org.matrix.msc3765.topic"]) { + data["org.matrix.msc3765.topic"].forEach(d => { + data.body = data.body.replace(regex, RELEASE_TOPIC); + }); + } res = await fetch(apiUrl, { method: "PUT",