Support m.topic in topic update script (#30192)

This commit is contained in:
David Baker
2025-06-24 15:38:06 +01:00
committed by GitHub
parent 53eff065e4
commit e9922ee84f

View File

@@ -81,6 +81,11 @@ jobs:
d.body = d.body.replace(regex, releaseTopic);
});
}
if (data["m.topic"]) {
data["m.topic"].forEach(d => {
d.body = d.body.replace(regex, releaseTopic);
});
}
res = await fetch(apiUrl, {
method: "PUT",