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:
parent
70b923a7fc
commit
f5686cab1e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user