Closed GoogleCodeExporter closed 8 years ago
You have a "@" (which is Unicode 40 hex) in your username. If you want to just
let
the JID class do the parsing, use JID(_username).
Original comment by hil...@gmail.com
on 3 May 2008 at 2:37
Thank you I will try executing:
_jabberClient.Register(new JID(_username));
PS- is there a smarter way to auto-register first time users with my chat
server?
Original comment by rory.gro...@gmail.com
on 3 May 2008 at 7:32
How do I deal with conference rooms?
JID jid = new JID(room,
Settings.Default.ChatConferenceServer,
_jabberClient.User);
I am getting prohibited character exceptions when using this fashion.
Original comment by rory.gro...@gmail.com
on 6 May 2008 at 12:42
If you look at the contents of room, you'll probably find an "@" in it. The
3-argument version of the JID
constructor takes a node, a domain, and a resource, with none of the delimiters
@ or /. The one-argument
version takes a full JID as a string, and parses it into its three constituent
parts.
Original comment by hil...@gmail.com
on 6 May 2008 at 2:57
Original issue reported on code.google.com by
rory.gro...@gmail.com
on 3 May 2008 at 5:53