diff options
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/PostMessage.java')
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/PostMessage.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/PostMessage.java b/juick-commands/src/main/java/com/juick/command/PostMessage.java index 2ef5ce22..9dba3396 100644 --- a/juick-commands/src/main/java/com/juick/command/PostMessage.java +++ b/juick-commands/src/main/java/com/juick/command/PostMessage.java @@ -2,7 +2,6 @@ package com.juick.command; import com.juick.Tag; import com.juick.User; -import com.juick.server.protocol.ProtocolListener; import com.juick.server.util.TagUtils; import com.juick.service.MessagesService; import com.juick.service.SubscriptionService; @@ -47,7 +46,7 @@ public class PostMessage implements Command { } @Override - public String execute(User sender, ProtocolListener protocolListener, String command) { + public String execute(User sender, MessageListener protocolListener, String command) { List<Tag> tags = getTagService().fromString(command, false); String body = command.substring(TagUtils.toString(tags).length()); int mid = getMessagesService().createMessage(sender.getUid(), body, null, tags); |