Fix breaking Ad-Hoc command made in last commit
This commit is contained in:
parent
db6d7326e6
commit
fdeb74e887
|
|
@ -90,6 +90,13 @@ func mainXMPP() {
|
|||
case xmpp.NSDiscoItems:
|
||||
execDisco(v)
|
||||
|
||||
case xmpp.NodeAdHocCommand:
|
||||
if jidBare == jid.Domain {
|
||||
execCommandAdHoc(v)
|
||||
} else {
|
||||
sendNotSupportedFeature(v)
|
||||
}
|
||||
|
||||
case xmpp.NSVCardTemp:
|
||||
if jidBareTo == jid.Domain {
|
||||
reply := v.Response(xmpp.IQTypeResult)
|
||||
|
|
|
|||
Loading…
Reference in New Issue