+1
-1
src/checkHandles.ts
+1
-1
src/checkHandles.ts
+1
-1
src/checkPosts.ts
+1
-1
src/checkPosts.ts
···
12
12
import { GLOBAL_ALLOW } from "./constants.js";
13
13
14
14
export const checkPosts = async (post: Post[]) => {
15
-
if (!GLOBAL_ALLOW.includes(post[0].did)) {
15
+
if (GLOBAL_ALLOW.includes(post[0].did)) {
16
16
logger.warn(
17
17
{ process: "CHECKPOSTS", did: post[0].did, atURI: post[0].atURI },
18
18
"Global AllowListed DID",
+2
-2
src/checkProfiles.ts
+2
-2
src/checkProfiles.ts
···
17
17
const lang = await getLanguage(description);
18
18
19
19
// Check if DID is whitelisted
20
-
if (!GLOBAL_ALLOW.includes(did)) {
20
+
if (GLOBAL_ALLOW.includes(did)) {
21
21
logger.warn(
22
22
{ process: "CHECKDESCRIPTION", did, time, displayName, description },
23
23
"Global AllowListed DID",
···
131
131
description: string,
132
132
) => {
133
133
// Check if DID is whitelisted
134
-
if (!GLOBAL_ALLOW.includes(did)) {
134
+
if (GLOBAL_ALLOW.includes(did)) {
135
135
logger.warn(
136
136
{ process: "CHECKDISPLAYNAME", did, time, displayName, description },
137
137
"Global AllowListed DID",