From dacf95505e1b0b6415cc1ac86bcb002441b13be0 Mon Sep 17 00:00:00 2001 From: Danny Morabito Date: Wed, 19 Mar 2025 19:07:34 +0100 Subject: [PATCH] whoops, fix embarassing bugs where profiles could be edited by everyone --- 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(