mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-04-26 17:03:04 -07:00
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