From 1f7c9279f4cc38e1e365f6a97b4557bd96604f41 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 16 May 2018 12:00:31 +0300 Subject: common: fix tags maximum --- juick-common/src/main/java/com/juick/server/CommandsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-common/src/main/java/com/juick') diff --git a/juick-common/src/main/java/com/juick/server/CommandsManager.java b/juick-common/src/main/java/com/juick/server/CommandsManager.java index 6b759bed..4b32c456 100644 --- a/juick-common/src/main/java/com/juick/server/CommandsManager.java +++ b/juick-common/src/main/java/com/juick/server/CommandsManager.java @@ -101,7 +101,7 @@ public class CommandsManager { } } List tags = tagService.fromString(input, false); - if (tags.size() >= 5) { + if (tags.size() > 5) { return CommandResult.fromString("Sorry, 5 tags maximum."); } // new message -- cgit v1.2.3