From 437971a05734b331556a6374683ba34cb2912511 Mon Sep 17 00:00:00 2001 From: Txrpe Date: Mon, 18 Nov 2024 01:45:53 +0100 Subject: [PATCH] fix using chatroom jid from .ini file --- chatbot/chatbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatbot/chatbot.go b/chatbot/chatbot.go index 6f27df9..da83e27 100644 --- a/chatbot/chatbot.go +++ b/chatbot/chatbot.go @@ -49,7 +49,7 @@ func NewEventBot() (*EventBot, error) { func (nkbot *EventBot) SendMessage(ans string) { chat := xmpp.Chat{ - Remote: "dmztest@chat.hookipa.net", + Remote: nkbot.mcuJid, Type: "groupchat", Text: ans, Stamp: time.Now(),