aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-10-29 04:23:57 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-10-29 04:23:57 +0300
commit7e036fd795cc0b5710d3b049dc98f4538c32da6a (patch)
treea759a474c5c1a3aafb5a44a416ca9989bbf2b1b2 /xmpp/handlers.go
parent695c9fc35325d3bec3ec81bdce59f780acd74e8d (diff)
golint
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index 38bbe7a..874af49 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -8,6 +8,7 @@ import (
"gosrc.io/xmpp/stanza"
)
+// HandleMessage processes an incoming XMPP message
func HandleMessage(s xmpp.Sender, p stanza.Packet) {
msg, ok := p.(stanza.Message)
if !ok {