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) { func (nkbot *EventBot) SendMessage(ans string) {
chat := xmpp.Chat{ chat := xmpp.Chat{
Remote: "dmztest@chat.hookipa.net", Remote: nkbot.mcuJid,
Type: "groupchat", Type: "groupchat",
Text: ans, Text: ans,
Stamp: time.Now(), Stamp: time.Now(),