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

Fixed create_fulljid

This commit is contained in:
James Booth 2015-02-23 23:52:53 +00:00
parent 70b923a7fc
commit f5686cab1e

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);