aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-xmpp/src/main/java/com')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/JuickBot.java6
1 files changed, 3 insertions, 3 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 f0bac1f4..ad21b577 100644
--- a/juick-xmpp/src/main/java/com/juick/components/JuickBot.java
+++ b/juick-xmpp/src/main/java/com/juick/components/JuickBot.java
@@ -583,13 +583,13 @@ public class JuickBot implements StanzaListener, AutoCloseable {
String retValUpdated;
if (input[0].toLowerCase().equals("on")) {
newStatus = UserService.ActiveStatus.Active;
- retValUpdated = "Notifications are activated for " + from.toEscapedString();
+ retValUpdated = "Notifications are activated for " + from.asBareJid().toEscapedString();
} else {
newStatus = UserService.ActiveStatus.Inactive;
- retValUpdated = "Notifications are disabled for " + from.toEscapedString();
+ retValUpdated = "Notifications are disabled for " + from.asBareJid().toEscapedString();
}
- if (userService.setActiveStatusForJID(from.toEscapedString(), newStatus)) {
+ if (userService.setActiveStatusForJID(from.asBareJid().toEscapedString(), newStatus)) {
return retValUpdated;
} else {
return String.format("Subscriptions status for %s was not changed", from.toEscapedString());