From f5686cab1e5fbfc6bcfb2385792e8738a38a1890 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 23 Feb 2015 23:52:53 +0000 Subject: [PATCH] Fixed create_fulljid --- src/jid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jid.c b/src/jid.c index e314b2cf..0a722b1e 100644 --- a/src/jid.c +++ b/src/jid.c @@ -146,7 +146,7 @@ char * create_fulljid(const char * const barejid, const char * const resource) { gchar *barejidlower = g_utf8_strdown(barejid, -1); - GString *full_jid = g_string_new(barejid); + GString *full_jid = g_string_new(barejidlower); g_free(barejidlower); g_string_append(full_jid, "/"); g_string_append(full_jid, resource);