aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index 7c671d9..d5653ce 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -93,8 +93,8 @@ func HandleMessage(s xmpp.Sender, p stanza.Packet) {
gateway.SendPresence(component, msg.From, gateway.SPType("subscribed"))
} else {
log.Error("Message from stranger")
- return
}
+ return
}
toID, ok := toToID(msg.To)