Handle command cancelling

adhoc
Bohdan Horbeshko 3 months ago
parent e7d5a2a266
commit a0180eff75

@ -760,6 +760,12 @@ func handleSetQueryCommand(s xmpp.Sender, iq *stanza.IQ, command *stanza.Command
} else {
cmdString = "/" + command.Node
}
} else if command.Action == stanza.CommandActionCancel {
answer.Payload = &stanza.Command{
SessionId: command.Node,
Node: command.Node,
Status: stanza.CommandStatusCancelled,
}
}
}
}

Loading…
Cancel
Save