about summary refs log tree commit diff stats
path: root/src/jabber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jabber.h')
-rw-r--r--src/jabber.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jabber.h b/src/jabber.h
index 326328cc..e1494851 100644
--- a/src/jabber.h
+++ b/src/jabber.h
@@ -24,6 +24,7 @@
 #define JABBER_H
 
 #include "accounts.h"
+#include "jid.h"
 
 typedef enum {
     JABBER_UNDEFINED,
@@ -59,7 +60,7 @@ jabber_conn_status_t jabber_connect_with_account(ProfAccount *account,
     const char * const passwd);
 void jabber_disconnect(void);
 void jabber_process_events(void);
-void jabber_join(const char * const room, const char * const nick);
+void jabber_join(Jid *jid);
 void jabber_change_room_nick(const char * const room, const char * const nick);
 void jabber_leave_chat_room(const char * const room_jid);
 void jabber_subscription(const char * const jid, jabber_subscr_t action);