mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
Update update-topics.yaml
This commit is contained in:
parent
cb2d5efa4e
commit
4c9baa60ec
1 changed files with 5 additions and 0 deletions
5
.github/workflows/update-topics.yaml
vendored
5
.github/workflows/update-topics.yaml
vendored
|
@ -55,6 +55,11 @@ jobs:
|
||||||
console.log(roomId, "nothing to do");
|
console.log(roomId, "nothing to do");
|
||||||
return;
|
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, {
|
res = await fetch(apiUrl, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
|
|
Loading…
Reference in a new issue