mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 12:52:30 +00:00
Add Decorators to clean classes before json serialization and remove invalid states.
This commit is contained in:
1 parent
961cb9a7e2
commit
9bd8fc2c09
4 files changed
+59
-1
No files matched your search
@@ -486,7 +486,7 @@ export async function postHandleMessage(message: Message) {
|
||||
const content = message.content?.replace(/ *`[^)]*` */g, ""); // remove markdown
|
||||
|
||||
const linkMatches = content?.match(LINK_REGEX) || [];
|
||||
|
||||
message.clean_data();
|
||||
const data = { ...message };
|
||||
|
||||
const currentNormalizedUrls = new Set<string>();
|
||||
|
||||
Reference in new issue
Block a user