From f74f276a228e2c78c35b1fc0b9c9216b91af2772 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Fri, 31 May 2019 23:33:26 +0200 Subject: [PATCH] Fix me note --- iq.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iq.go b/iq.go index ecd6e49..ec26114 100644 --- a/iq.go +++ b/iq.go @@ -214,6 +214,7 @@ func (iq *IQ) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { val := reflect.New(payloadType) elt = val.Interface() } else { + // TODO: Fix me. We do nothing of that element here. elt = new(Node) } @@ -332,6 +333,8 @@ type DiscoItem struct { } // ============================================================================ +// TODO: Make it configurable at to be able to easily add new XMPP extensions +// in separate modules var typeRegistry = make(map[string]reflect.Type)