aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/ActivityPubManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java
index bae8a8e89..613de046a 100644
--- a/src/main/java/com/juick/ActivityPubManager.java
+++ b/src/main/java/com/juick/ActivityPubManager.java
@@ -377,7 +377,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
// @user@server.tld -> user@server.tld
Optional<Context> personContext = signatureManager.discoverPerson(m.substring(1));
if (personContext.isPresent()) {
- Person person = (Person) personContext.get();
+ Actor person = (Actor) personContext.get();
note.getTags().add(new Mention(person.getUrl(), person.getPreferredUsername()));
List<String> cc = new ArrayList<>(note.getCc());
cc.add(person.getId());