aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/ShowFavorites.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/ShowFavorites.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/ShowFavorites.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/ShowFavorites.java b/juick-commands/src/main/java/com/juick/command/ShowFavorites.java
index ced28936..144ed546 100644
--- a/juick-commands/src/main/java/com/juick/command/ShowFavorites.java
+++ b/juick-commands/src/main/java/com/juick/command/ShowFavorites.java
@@ -2,7 +2,6 @@ package com.juick.command;
import com.juick.User;
import com.juick.formatters.PlainTextFormatter;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.MessagesService;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
@@ -40,7 +39,7 @@ public class ShowFavorites implements Command {
}
@Override
- public String execute(User sender, ProtocolListener protocolListener, String command) {
+ public String execute(User sender, MessageListener protocolListener, String command) {
List<Integer> mids = getMessagesService().getUserRecommendations(sender.getUid(), 0);
if (mids.size() > 0) {
List<com.juick.Message> messages = getMessagesService().getMessages(mids);