diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-11-19 23:14:39 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-11-19 23:14:39 +0000 | 
| commit | ef5c1855b406e462fb8b90b517f1672a47bcc4b5 (patch) | |
| tree | b66355c56985c10f0c7201db45d99152de02921b /protocols/jabber/jabber.c | |
| parent | 50e1776cb0c76b3328d458dd8a1bfb379b6b0e43 (diff) | |
Added Jabber groupchat topic support.
Diffstat (limited to 'protocols/jabber/jabber.c')
| -rw-r--r-- | protocols/jabber/jabber.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index ab26efc9..e7be63fd 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -384,6 +384,12 @@ static void jabber_chat_msg_( struct groupchat *c, char *message, int flags )  		jabber_chat_msg( c, message, flags );  } +static void jabber_chat_topic_( struct groupchat *c, char *topic ) +{ +	if( c && topic ) +		jabber_chat_topic( c, topic ); +} +  static void jabber_chat_leave_( struct groupchat *c )  {  	if( c ) @@ -460,6 +466,7 @@ void jabber_initmodule()  	ret->add_buddy = jabber_add_buddy;  	ret->remove_buddy = jabber_remove_buddy;  	ret->chat_msg = jabber_chat_msg_; +	ret->chat_topic = jabber_chat_topic_;  //	ret->chat_invite = jabber_chat_invite;  	ret->chat_leave = jabber_chat_leave_;  	ret->chat_join = jabber_chat_join_; | 
