diff options
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/SubscribeMessage.java')
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/SubscribeMessage.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/SubscribeMessage.java b/juick-commands/src/main/java/com/juick/command/SubscribeMessage.java index 893c0b65..52d0713e 100644 --- a/juick-commands/src/main/java/com/juick/command/SubscribeMessage.java +++ b/juick-commands/src/main/java/com/juick/command/SubscribeMessage.java @@ -1,7 +1,6 @@ package com.juick.command; import com.juick.User; -import com.juick.server.protocol.ProtocolListener; import com.juick.service.MessagesService; import com.juick.service.SubscriptionService; import lombok.Getter; @@ -40,7 +39,7 @@ public class SubscribeMessage extends MultiArgsCommand { } @Override - protected String execute(User sender, ProtocolListener protocolListener, String... arguments) { + protected String execute(User sender, MessageListener protocolListener, String... arguments) { boolean subscribe = arguments[0].equalsIgnoreCase("s"); int mid = NumberUtils.toInt(arguments[1], 0); if (getMessagesService().getMessage(mid) != null) { |