aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
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.c
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.c')
-rw-r--r--protocols/jabber/jabber.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 41ce509b..1169963f 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -482,6 +482,11 @@ static struct groupchat *jabber_chat_join_( struct im_connection *ic, const char
return NULL;
}
+static struct groupchat *jabber_chat_with_( struct im_connection *ic, char *who )
+{
+ return jabber_chat_with( ic, who );
+}
+
static void jabber_chat_msg_( struct groupchat *c, char *message, int flags )
{
if( c && message )
@@ -634,6 +639,7 @@ void jabber_initmodule()
ret->chat_invite = jabber_chat_invite_;
ret->chat_leave = jabber_chat_leave_;
ret->chat_join = jabber_chat_join_;
+ ret->chat_with = jabber_chat_with_;
ret->chat_add_settings = jabber_chat_add_settings;
ret->chat_free_settings = jabber_chat_free_settings;
ret->keepalive = jabber_keepalive;