Respond with status OK on every command message

This commit is contained in:
2021-09-15 17:20:11 +02:00
parent bfebfab3af
commit 4d7a973293
2 changed files with 5 additions and 1 deletions

View File

@@ -10,7 +10,10 @@ func main() {
// LOAD APPLICATION CONFIGURATION
appConfig.Load()
// Initialise XMPP service
xmppService.Init()
// Send online presence stanza
xmppServiceInstance := xmppService.Instance()
xmppService.SendOnlinePresenceStanza(xmppServiceInstance.XMPPClients[0].Client, xmppServiceInstance.XMPPClients[0].Config.Jid)
}