From 8fce634716a998721cc5fb4663a7c0379c6df633 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 18 May 2023 18:40:46 +0200 Subject: Use only xmpp.Event for channel communication --- xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp') 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) -- cgit v1.2.3-70-g09d2