Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

isNew is optional and might not be there.

Matt Robertsc0438c0e775e
diff --git a/migrations/202503202000_mentions_notifications.sql b/migrations/202503202000_mentions_notifications.sql
index 00d5aae33..c33e63c71 100644
--- a/migrations/202503202000_mentions_notifications.sql
+++ b/migrations/202503202000_mentions_notifications.sql
@@ -18,7 +18,7 @@ UPDATE comments
SET
content = regexp_replace (
content,
- '@{"id":([0-9]+),"name":"([^"]+)","isNew":(true|false)}',
+ '@{"id":([0-9]+),"name":"([^"]+)"(,"isNew":(true|false))?}',
'@[\2]',
'g'
)