fix using chatroom jid from .ini file

This commit is contained in:
Txrpe 2024-11-18 01:45:53 +01:00
parent 54f5b7e20e
commit 437971a057

View File

@ -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(),