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:12:54 +0100
committerJames Booth <boothj5@gmail.com>2016-05-06 01:12:54 +0100
commitd1c71e98f4f6b5271e97bc2a5274c92491bfdbd3 (patch)
treeb1427ee5d49a1a1246a124fa2de9a9fd5aef841f /src/command
parentcc485ed338c854489f08e95dafdb8503093e5150 (diff)
downloadprofani-tty-d1c71e98f4f6b5271e97bc2a5274c92491bfdbd3.tar.gz
Move connection fulljid function
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 3e8fa0f2..cf89b39a 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -3419,7 +3419,7 @@ cmd_software(ProfWin *window, const char *const command, gchar **args)
             break;
         case WIN_CONSOLE:
             if (args[0]) {
-                Jid *myJid = jid_create(session_get_fulljid());
+                Jid *myJid = jid_create(connection_get_fulljid());
                 Jid *jid = jid_create(args[0]);
 
                 if (jid == NULL || jid->fulljid == NULL) {
@@ -4481,7 +4481,7 @@ cmd_disco(ProfWin *window, const char *const command, gchar **args)
     if (args[1]) {
         jid = g_string_append(jid, args[1]);
     } else {
-        Jid *jidp = jid_create(session_get_fulljid());
+        Jid *jidp = jid_create(connection_get_fulljid());
         jid = g_string_append(jid, jidp->domainpart);
         jid_destroy(jidp);
     }
@@ -4564,7 +4564,7 @@ cmd_lastactivity(ProfWin *window, const char *const command, gchar **args)
     }
 
     if (args[0] == NULL) {
-        Jid *jidp = jid_create(session_get_fulljid());
+        Jid *jidp = jid_create(connection_get_fulljid());
         GString *jid = g_string_new(jidp->domainpart);
 
         iq_last_activity_request(jid->str);