diff -r 36287f2cf06e -r bd56fb741f69 stream.go --- a/stream.go Sun Dec 16 22:36:53 2012 -0700 +++ b/stream.go Sun Dec 16 22:37:57 2012 -0700 @@ -148,7 +148,7 @@ // If it's a Stanza, we try to unmarshal its innerxml // into objects of the appropriate respective // types. This is specified by our extensions. - if st, ok := obj.(Stanzer) ; ok { + if st, ok := obj.(Stanza) ; ok { err = parseExtended(st.GetHeader(), extStanza) if err != nil { Warn.Logf("ext unmarshal: %s", err) @@ -250,7 +250,7 @@ cl.handleTls(obj) case *auth: cl.handleSasl(obj) - case Stanzer: + case Stanza: st = obj.GetHeader() default: Warn.Logf("Unhandled non-stanza: %T %#v", x, x)