diff options
Diffstat (limited to 'xmpp/stream_pair.go')
-rw-r--r-- | xmpp/stream_pair.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xmpp/stream_pair.go b/xmpp/stream_pair.go index b13d8a3..c9108d1 100644 --- a/xmpp/stream_pair.go +++ b/xmpp/stream_pair.go @@ -28,13 +28,7 @@ func runStreamPair(s *session) { } if buf.isComplete() { element := buf.reset() - // TODO handle XML element here - this is just a dummy: - switch start := element[0].(type) { - case xml.StartElement: - log.Printf("Got XML element `%s`\n", start.Name.Local) - default: - log.Println("No xml.StartElement at start of element buffer!") - } + route(element, getRoutingTable()) } } } |