about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-23 23:52:53 +0000
committerJames Booth <boothj5@gmail.com>2015-02-23 23:52:53 +0000
commitf5686cab1e5fbfc6bcfb2385792e8738a38a1890 (patch)
treede792d312b5f8dc9c35164ad05f8582df2dbd4be /src
parent70b923a7fcc11011e536ffb741f6158798f2fb8e (diff)
downloadprofani-tty-f5686cab1e5fbfc6bcfb2385792e8738a38a1890.tar.gz
Fixed create_fulljid
Diffstat (limited to 'src')
-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);