Move uuid functions

This commit is contained in:
James Booth
2016-05-06 01:16:13 +01:00
parent d1c71e98f4
commit 31b0f0b0c8
5 changed files with 20 additions and 20 deletions

View File

@@ -3465,9 +3465,9 @@ cmd_join(ProfWin *window, const char *const command, gchar **args)
ProfAccount *account = accounts_get_account(account_name);
GString *room_str = g_string_new("");
char *uuid = session_create_uuid();
char *uuid = connection_create_uuid();
g_string_append_printf(room_str, "private-chat-%s@%s", uuid, account->muc_service);
session_free_uuid(uuid);
connection_free_uuid(uuid);
presence_join_room(room_str->str, account->muc_nick, NULL);
muc_join(room_str->str, account->muc_nick, NULL, FALSE);