From fc0640ec4530975b95f3fb14aff1fce86ffff121 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 10 Feb 2012 18:00:00 +0000 Subject: 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. --- protocols/jabber/jabber.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/jabber/jabber.c') 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; -- cgit v1.2.3