summaryrefslogtreecommitdiff
path: root/xmpp
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-05-18 18:40:46 +0200
committerxengineering <me@xengineering.eu>2023-05-18 18:40:46 +0200
commit8fce634716a998721cc5fb4663a7c0379c6df633 (patch)
treef23ac38a9d1acb5d93d0eb0512f5741193e6bfa0 /xmpp
parent0f96bb37005dfda8c2fe20a638f670f6385d2e8b (diff)
downloadlimox-8fce634716a998721cc5fb4663a7c0379c6df633.tar
limox-8fce634716a998721cc5fb4663a7c0379c6df633.tar.zst
limox-8fce634716a998721cc5fb4663a7c0379c6df633.zip
Use only xmpp.Event for channel communication
Diffstat (limited to 'xmpp')
-rw-r--r--xmpp/xmpp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/xmpp.go b/xmpp/xmpp.go
index 5d5e9a3..69fe48d 100644
--- a/xmpp/xmpp.go
+++ b/xmpp/xmpp.go
@@ -16,7 +16,7 @@ const (
ShouldDisconnectEvent
)
-func Run(ch chan any, jid string, pwd string) {
+func Run(ch chan Event, jid string, pwd string) {
conn, err := setupConn(jid)
if err != nil {
log.Print(err)