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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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",