This commit is contained in:
Chteufleur 2016-06-17 23:27:53 +02:00
parent 271f431de2
commit 659fcba63d
1 changed files with 3 additions and 3 deletions

View File

@ -137,9 +137,9 @@ func must(v interface{}, err error) interface{} {
}
func sendNotSupportedFeature(iq *xmpp.Iq) {
reply := iq.Response(xmpp.IQTypeError)
reply.PayloadEncode(xmpp.NewError("cancel", xmpp.FeatureNotImplemented, ""))
comp.Out <- reply
reply := iq.Response(xmpp.IQTypeError)
reply.PayloadEncode(xmpp.NewError("cancel", xmpp.FeatureNotImplemented, ""))
comp.Out <- reply
}
func Disconnect() {