From 39d865b0829fb0cc068cd75c477e1db1d12a76e6 Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Wed, 14 Sep 2016 09:06:17 +0200 Subject: [PATCH] =?UTF-8?q?Add=20namespace=20=C2=AB=C2=A0jabber:iq:version?= =?UTF-8?q?=C2=A0=C2=BB=20into=20disco=20feature.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xmpp/xmpp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/xmpp/xmpp.go b/xmpp/xmpp.go index 603e0ce..32e8311 100644 --- a/xmpp/xmpp.go +++ b/xmpp/xmpp.go @@ -207,6 +207,7 @@ func execDisco(iq *xmpp.Iq) { discoInfo.Identity = append(discoInfo.Identity, *identity) discoInfo.Feature = append(discoInfo.Feature, xmpp.DiscoFeature{Var: xmpp.NSDiscoInfo}) discoInfo.Feature = append(discoInfo.Feature, xmpp.DiscoFeature{Var: xmpp.NSDiscoItems}) + discoInfo.Feature = append(discoInfo.Feature, xmpp.DiscoFeature{Var: xmpp.NSJabberClient}) reply.PayloadEncode(discoInfo) comp.Out <- reply