diff options
-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()); |