mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Update update-topics.yaml
This commit is contained in:
parent
cb2d5efa4e
commit
4c9baa60ec
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");
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user