Update update-topics.yaml

pull/25747/head
Michael Telatynski 2023-07-10 11:27:41 +01:00 committed by GitHub
parent cb2d5efa4e
commit 4c9baa60ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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