aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/CommandsManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-10-23 11:10:19 +0300
committerGravatar Vitaly Takmazov2021-10-23 11:26:43 +0300
commit8f96d329454c3343d4177364c12c087bf1147a7d (patch)
tree68d46609ec48f8154ea886cd2a9542ca3c422394 /src/main/java/com/juick/CommandsManager.java
parent6b5d0deb398b0b77c13c16fbf116b4639feef574 (diff)
Minor code cleanup
Diffstat (limited to 'src/main/java/com/juick/CommandsManager.java')
-rw-r--r--src/main/java/com/juick/CommandsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/CommandsManager.java b/src/main/java/com/juick/CommandsManager.java
index 6d315a7d..6ad19bee 100644
--- a/src/main/java/com/juick/CommandsManager.java
+++ b/src/main/java/com/juick/CommandsManager.java
@@ -582,7 +582,7 @@ public class CommandsManager {
}
Message reply = messagesService.getReply(mid, newrid);
if (reply.getUser().isAnonymous()) {
- reply.setUser(activityPubManager.personToUser(reply.getUser().getUri()));
+ reply.setUser(activityPubManager.actorToUser(reply.getUser().getUri()));
} else {
reply.getUser().setAvatar(webApp.getAvatarUrl(reply.getUser()));
}