about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-06 01:16:13 +0100
committerJames Booth <boothj5@gmail.com>2016-05-06 01:16:13 +0100
commit31b0f0b0c889f6b54ac4315130f7d6a5abca6668 (patch)
treed72dfddeda8582f0f52fa38d69700ddc253320db /src/command
parentd1c71e98f4f6b5271e97bc2a5274c92491bfdbd3 (diff)
downloadprofani-tty-31b0f0b0c889f6b54ac4315130f7d6a5abca6668.tar.gz
Move uuid functions
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index cf89b39a..9127fab9 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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);