aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com/juick/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-30 13:33:57 +0300
committerGravatar Vitaly Takmazov2018-01-30 13:33:57 +0300
commit1e5c0403d3339c40950106737ef17727d786f6d4 (patch)
treebd65ac05764397e3b45fc8e15646956408e8a48b /juick-xmpp/src/main/java/com/juick/components
parent59e0c016bcb3e5f5260bf35bed63994fc9df3016 (diff)
xmpp: fix description of subscribeMessage command
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/JuickBot.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/JuickBot.java b/juick-xmpp/src/main/java/com/juick/components/JuickBot.java
index 2884fdd4..9855f958 100644
--- a/juick-xmpp/src/main/java/com/juick/components/JuickBot.java
+++ b/juick-xmpp/src/main/java/com/juick/components/JuickBot.java
@@ -563,8 +563,8 @@ public class JuickBot implements StanzaListener, AutoCloseable {
}
return "Error";
}
- @UserCommand(pattern = "^(s|u)\\s+#(\\d+)$", help = "S #1234 - subscribe to comments",
- patternFlags = Pattern.CASE_INSENSITIVE)
+ @UserCommand(pattern = "^(s|u)\\s+#(\\d+)$", help = "S #1234 - subscribe to comments" +
+ "\nU #1234 - unsubscribe from comments", patternFlags = Pattern.CASE_INSENSITIVE)
public String commandSubscribeMessage(User user, Jid from, String... args) {
boolean subscribe = args[0].equalsIgnoreCase("s");
int mid = NumberUtils.toInt(args[1], 0);