aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/CommandsManager.java
diff options
context:
space:
mode:
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(),