diff options
author | Vitaly Takmazov | 2018-01-31 14:16:56 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-01-31 14:16:56 +0300 |
commit | 0c9e67eb323189993b48d71e866b2c4f97270e5e (patch) | |
tree | 624888ad0603c46216be2aba7d3a5ca0d9a72795 /juick-xmpp | |
parent | 47af4cca11a4a26b73a7f5eeb0a82fcae3145afc (diff) |
xmpp: fix ON/OFF
Diffstat (limited to 'juick-xmpp')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/JuickBot.java | 2 |
1 files changed, 1 insertions, 1 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 2b1c7ac9..44755174 100644 --- a/juick-xmpp/src/main/java/com/juick/components/JuickBot.java +++ b/juick-xmpp/src/main/java/com/juick/components/JuickBot.java @@ -589,7 +589,7 @@ public class JuickBot implements StanzaListener, AutoCloseable { retValUpdated = "Notifications are disabled for " + user.getJid(); } - if (userService.setActiveStatusForJID(user.getJid(), newStatus)) { + if (userService.setActiveStatusForJID(from.toEscapedString(), newStatus)) { return retValUpdated; } else { return String.format("Subscriptions status for %s was not changed", user.getJid()); |