From 4bd08396695806826dbc22d3c959bd7d2d6b29a2 Mon Sep 17 00:00:00 2001 From: Danny Morabito Date: Wed, 19 Mar 2025 19:09:48 +0100 Subject: [PATCH] fix bug where profile can be replaced by anyone in the CCN --- utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.ts b/utils.ts index aecc1fd..94e930c 100644 --- a/utils.ts +++ b/utils.ts @@ -84,7 +84,7 @@ export function isRegularEvent(kind: number): boolean { } export function isCCNReplaceableEvent(kind: number): boolean { - return (kind >= 60000 && kind < 65536) || kind === 0; + return (kind >= 60000 && kind < 65536); } export function parseATagQuery(