summaryrefslogtreecommitdiff
path: root/src/remote/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub')
-rw-r--r--src/remote/activitypub/kernel/index.ts2
-rw-r--r--src/remote/activitypub/resolver.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/kernel/index.ts b/src/remote/activitypub/kernel/index.ts
index abf5a436c0..ff75f80299 100644
--- a/src/remote/activitypub/kernel/index.ts
+++ b/src/remote/activitypub/kernel/index.ts
@@ -66,6 +66,6 @@ async function performOneActivity(actor: IRemoteUser, activity: IObject): Promis
} else if (isFlag(activity)) {
await flag(actor, activity);
} else {
- apLogger.warn(`unknown activity type: ${(activity as any).type}`);
+ apLogger.warn(`unrecognized activity type: ${(activity as any).type}`);
}
}
diff --git a/src/remote/activitypub/resolver.ts b/src/remote/activitypub/resolver.ts
index 3847ea92ca..f4bf8f94f9 100644
--- a/src/remote/activitypub/resolver.ts
+++ b/src/remote/activitypub/resolver.ts
@@ -20,7 +20,7 @@ export default class Resolver {
if (isCollectionOrOrderedCollection(collection)) {
return collection;
} else {
- throw new Error(`unknown collection type: ${collection.type}`);
+ throw new Error(`unrecognized collection type: ${collection.type}`);
}
}