mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-05-07 13:42:54 -07:00
Merge pull request #13 from hypafrag/xml_charset_reader_support
added charsets support
This commit is contained in:
@@ -82,6 +82,7 @@ func (s *Session) setProxy(conn net.Conn, newConn net.Conn, o Config) {
|
||||
s.socketProxy = newSocketProxy(newConn, o.PacketLogger)
|
||||
}
|
||||
s.decoder = xml.NewDecoder(s.socketProxy)
|
||||
s.decoder.CharsetReader = o.CharsetReader
|
||||
}
|
||||
|
||||
func (s *Session) open(domain string) (f streamFeatures) {
|
||||
|
||||
Reference in New Issue
Block a user