diff options
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/MyFeeds.java')
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/MyFeeds.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/MyFeeds.java b/juick-commands/src/main/java/com/juick/command/MyFeeds.java index 5156e3c5..6a078cc9 100644 --- a/juick-commands/src/main/java/com/juick/command/MyFeeds.java +++ b/juick-commands/src/main/java/com/juick/command/MyFeeds.java @@ -3,7 +3,6 @@ package com.juick.command; import com.juick.Message; 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 MyFeeds extends MultiArgsCommand { } @Override - protected String execute(User sender, ProtocolListener protocolListener, String... arguments) { + protected String execute(User sender, MessageListener protocolListener, String... arguments) { // number of # is the page count int page = arguments[0].length() - 1; List<Integer> mids = getMessagesService().getMyFeed(sender.getUid(), page, false); |