summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenko Rasic <senko.rasic@collabora.co.uk>2006-11-13 11:14:17 +0000
committerSenko Rasic <senko.rasic@collabora.co.uk>2006-11-13 11:14:17 +0000
commit1ebb1e5d65affbc38fc1d3f6eaf3a2e37d046b7b (patch)
tree54668244d9c2ab3424b02a5f448627e3ecdf2def
parent4cee27024d7666d2c9c606083f9735e2d6213eb3 (diff)
GabbleConnection: allowing jids to start with a digit
-rw-r--r--src/gabble-connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gabble-connection.c b/src/gabble-connection.c
index 58172e92c..8665e10c1 100644
--- a/src/gabble-connection.c
+++ b/src/gabble-connection.c
@@ -1083,7 +1083,7 @@ _gabble_connection_register (GabbleConnection *conn,
safe_proto = g_strdup (priv->protocol);
g_strcanon (safe_proto, allowed_chars, '_');
- unique_name = g_strdup_printf ("%s_%s_%s",
+ unique_name = g_strdup_printf ("_%s_%s_%s",
priv->username,
priv->stream_server,
priv->resource);