mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-02 16:01:10 +01:00
Support m.topic in topic update script (#30192)
This commit is contained in:
parent
53eff065e4
commit
e9922ee84f
5
.github/workflows/update-topics.yaml
vendored
5
.github/workflows/update-topics.yaml
vendored
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user