From bb2a47ea3c17f92c1d55d8b0d26cd26a880373d9 Mon Sep 17 00:00:00 2001 From: Anatoliy Sablin Date: Mon, 6 Nov 2017 16:54:00 +0300 Subject: Moved to message listener. --- .../src/main/java/com/juick/command/ToggleSubscriptions.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'juick-commands/src/main/java/com/juick/command/ToggleSubscriptions.java') diff --git a/juick-commands/src/main/java/com/juick/command/ToggleSubscriptions.java b/juick-commands/src/main/java/com/juick/command/ToggleSubscriptions.java index 737565f9..8718d3bf 100644 --- a/juick-commands/src/main/java/com/juick/command/ToggleSubscriptions.java +++ b/juick-commands/src/main/java/com/juick/command/ToggleSubscriptions.java @@ -1,7 +1,6 @@ package com.juick.command; import com.juick.User; -import com.juick.server.protocol.ProtocolListener; import com.juick.service.UserService; import lombok.Getter; import org.springframework.beans.factory.annotation.Autowired; @@ -36,7 +35,7 @@ public class ToggleSubscriptions extends MultiArgsCommand { } @Override - protected String execute(User sender, ProtocolListener protocolListener, String... arguments) { + protected String execute(User sender, MessageListener protocolListener, String... arguments) { UserService.ActiveStatus newStatus; String retValUpdated; if (arguments[0].toLowerCase().equals("on")) { -- cgit v1.2.3