forked from jshiffer/go-xmpp
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)
|
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user