aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick')
-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 6019c7f9f..a643225fb 100644
--- a/src/main/java/com/juick/CommandsManager.java
+++ b/src/main/java/com/juick/CommandsManager.java
@@ -583,7 +583,7 @@ public class CommandsManager {
}
applicationEventPublisher.publishEvent(
new SystemEvent(this, SystemActivity.read(user, msg.get())));
- Message original = messagesService.getMessage(mid).orElseThrow(IllegalStateException::new);
+ Message original = messagesService.getMessage(user.getUid(), mid).orElseThrow(IllegalStateException::new);
if (!user.isAnonymous() && !original.isSubscribed()) {
subscriptionService.subscribeMessage(original, user);
}