mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 11:32:00 -08:00
Fix me note
This commit is contained in:
parent
0f6ff41792
commit
f74f276a22
3
iq.go
3
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user