aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@google.com>2012-02-10 18:00:00 +0000
committerWilmer van der Gaast <wilmer@google.com>2012-02-10 18:00:00 +0000
commitfc0640ec4530975b95f3fb14aff1fce86ffff121 (patch)
tree1d97b5af0390acb432af1d831a707f8996b4f3b7 /protocols/jabber/jabber.h
parentbb2d198251e2001591e0080ec9500e1078e1cd4f (diff)
Support for "nameless" chatrooms on Jabber.
Just join #somechannel and start inviting people. It should Just Work, like on other IM networks. Works at least with GTalk and with other servers that have conference stuff installed on conference.$servername.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index 19430505..d11d2fe8 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -162,6 +162,7 @@ struct jabber_chat
char *name;
char *my_full_jid; /* Separate copy because of case sensitivity. */
struct jabber_buddy *me;
+ char *invite;
};
struct jabber_transfer
@@ -338,6 +339,7 @@ extern const struct oauth2_service oauth2_service_mslive;
/* conference.c */
struct groupchat *jabber_chat_join( struct im_connection *ic, const char *room, const char *nick, const char *password );
+struct groupchat *jabber_chat_with( struct im_connection *ic, char *who );
struct groupchat *jabber_chat_by_jid( struct im_connection *ic, const char *name );
void jabber_chat_free( struct groupchat *c );
int jabber_chat_msg( struct groupchat *ic, char *message, int flags );