1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into readline

This commit is contained in:
James Booth 2015-02-23 23:54:01 +00:00
commit 2cba6798de

View File

@ -146,7 +146,7 @@ char *
create_fulljid(const char * const barejid, const char * const resource) create_fulljid(const char * const barejid, const char * const resource)
{ {
gchar *barejidlower = g_utf8_strdown(barejid, -1); 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_free(barejidlower);
g_string_append(full_jid, "/"); g_string_append(full_jid, "/");
g_string_append(full_jid, resource); g_string_append(full_jid, resource);