about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/jid.c2
1 files changed, 1 insertions, 1 deletions
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);