diff options
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/Recommendations.java')
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/Recommendations.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/Recommendations.java b/juick-commands/src/main/java/com/juick/command/Recommendations.java index c7f38003..5bbdd878 100644 --- a/juick-commands/src/main/java/com/juick/command/Recommendations.java +++ b/juick-commands/src/main/java/com/juick/command/Recommendations.java @@ -1,7 +1,6 @@ package com.juick.command; import com.juick.User; -import com.juick.server.protocol.ProtocolListener; import com.juick.service.ShowQueriesService; import lombok.Getter; import org.springframework.beans.factory.annotation.Autowired; @@ -37,7 +36,7 @@ public class Recommendations implements Command { } @Override - public String execute(User sender, ProtocolListener protocolListener, String command) { + public String execute(User sender, MessageListener protocolListener, String command) { StringBuilder msg = new StringBuilder(); msg.append("Recommended blogs"); List<String> recommendedUsers = getShowQueriesService().getRecommendedUsers(sender); |