aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/CommandsManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-08 15:37:48 +0300
committerGravatar Vitaly Takmazov2018-11-29 12:07:00 +0300
commit7647ea6728e9203787dff4f640acb4d6ce3a704f (patch)
tree3afe9a6cb1f1cc16c6fea79c798567ed911bb8cd /src/main/java/com/juick/server/CommandsManager.java
parent55cf2dd357088d7bbe0efff6a483679301ab2c22 (diff)
save ActivityPub likes
Diffstat (limited to 'src/main/java/com/juick/server/CommandsManager.java')
-rw-r--r--src/main/java/com/juick/server/CommandsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/CommandsManager.java b/src/main/java/com/juick/server/CommandsManager.java
index 3257304b..fa3c5537 100644
--- a/src/main/java/com/juick/server/CommandsManager.java
+++ b/src/main/java/com/juick/server/CommandsManager.java
@@ -299,7 +299,7 @@ public class CommandsManager {
if (msg.get().getUser() == user) {
return CommandResult.fromString("You can't recommend your own messages.");
}
- MessagesService.RecommendStatus status = messagesService.recommendMessage(mid, user.getUid());
+ MessagesService.RecommendStatus status = messagesService.recommendMessage(mid, user.getUid(), user.getUri().toASCIIString());
switch (status) {
case Added:
applicationEventPublisher.publishEvent(new LikeEvent(this, user, msg.get(),