# HG changeset patch
# User Nathan Walp <nwalp@pidgin.im>
# Date 1067877752 0
# Node ID 82dfe392a773c76e4962597ad666a495b2c16987
# Parent  5f867640afc8b9112bb31ff7bc080de96601f3a7
[gaim-migrate @ 8021]
spaces are in fact allowed in resources

i need to quit reading RFCs w/o sleep

committer: Tailor Script <tailor@pidgin.im>

diff -r 5f867640afc8 -r 82dfe392a773 src/protocols/jabber/jutil.c
--- a/src/protocols/jabber/jutil.c	Mon Nov 03 15:18:56 2003 +0000
+++ b/src/protocols/jabber/jutil.c	Mon Nov 03 16:42:32 2003 +0000
@@ -171,7 +171,7 @@
 	c = str;
 	while(c && *c) {
 		gunichar ch = g_utf8_get_char(c);
-		if(!g_unichar_isgraph(ch))
+		if(!g_unichar_isgraph(ch) && ch != ' ')
 			return FALSE;
 
 		c = g_utf8_next_char(c);