mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 11:02:29 +00:00
I am an idiot, it wasn't backwards
This commit is contained in:
1 parent
4b14bae282
commit
9db3e4a616
1 file changed
+1
-1
@@ -349,7 +349,7 @@ export async function postHandleMessage(message: Message) {
|
||||
}
|
||||
|
||||
// Filter out embeds that could be links, start from scratch
|
||||
data.embeds = data.embeds.filter((embed) => embed.type !== "rich");
|
||||
data.embeds = data.embeds.filter((embed) => embed.type === "rich");
|
||||
|
||||
const seenNormalizedUrls = new Set<string>();
|
||||
const uniqueLinks: string[] = [];
|
||||
|
||||
Reference in new issue
Block a user