mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-06 01:41:09 +01:00
Update topic workflow for correct topic format
This commit is contained in:
parent
386db8f385
commit
7320e3702c
4
.github/workflows/update-topics.yaml
vendored
4
.github/workflows/update-topics.yaml
vendored
@ -82,12 +82,12 @@ jobs:
|
||||
return;
|
||||
}
|
||||
if (data["org.matrix.msc3765.topic"]) {
|
||||
data["org.matrix.msc3765.topic"].forEach(d => {
|
||||
data["org.matrix.msc3765.topic"]?.["m.text"].forEach(d => {
|
||||
d.body = d.body.replace(regex, releaseTopic);
|
||||
});
|
||||
}
|
||||
if (data["m.topic"]) {
|
||||
data["m.topic"].forEach(d => {
|
||||
data["m.topic"]?.["m.text"].forEach(d => {
|
||||
d.body = d.body.replace(regex, releaseTopic);
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user