diff --git a/main.go b/main.go index f3b696c..7a973b7 100644 --- a/main.go +++ b/main.go @@ -259,8 +259,8 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str // If the message type is chat (e.g. private message), the command is the // first word. reply := "Bitte nicht mit dem Bot sprechen.\nhttps://www.kuketz-blog.de/chat/#bots" - _, err = client.Send(xmpp.Chat{Remote: muc, - Type: "groupchat", Text: strings.Split(v.Remote, "/")[1] + ": " + reply}) + _, err = client.Send(xmpp.Chat{Remote: v.Remote, + Type: "chat", Text: strings.Split(v.Remote, "/")[1] + ": " + reply}) if err != nil { log.Fatal("Error: Failed sending message to MUC:", err) }