Fix me note

This commit is contained in:
Mickael Remond 2019-05-31 23:33:26 +02:00 committed by Mickaël Rémond
parent 0f6ff41792
commit f74f276a22

3
iq.go
View File

@ -214,6 +214,7 @@ func (iq *IQ) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
val := reflect.New(payloadType) val := reflect.New(payloadType)
elt = val.Interface() elt = val.Interface()
} else { } else {
// TODO: Fix me. We do nothing of that element here.
elt = new(Node) 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) var typeRegistry = make(map[string]reflect.Type)