aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-12-07 23:14:30 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-12-07 23:14:30 +0000
commita97a336d7d3dbe83f1be750c4f1fe8f1179c7066 (patch)
treeaa71d639d742091366938acd82a1950e32a4cf55 /protocols/twitter/twitter.c
parentd76e12f6762d0a13cbafd50ebad29baf60b7df8a (diff)
Add CTCP HELP code. Also cleaning up some noop handlers in the Twitter
module (chat_with and send_typing) that suggested support for features that obviously don't exist.
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r--protocols/twitter/twitter.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c
index 2f28f746..286d6c3c 100644
--- a/protocols/twitter/twitter.c
+++ b/protocols/twitter/twitter.c
@@ -376,11 +376,6 @@ static void twitter_chat_leave( struct groupchat *c )
td->home_timeline_gc = NULL;
}
-static struct groupchat *twitter_chat_with( struct im_connection *ic, char *who )
-{
- return NULL;
-}
-
static void twitter_keepalive( struct im_connection *ic )
{
}
@@ -401,11 +396,6 @@ static void twitter_rem_deny( struct im_connection *ic, char *who )
{
}
-static int twitter_send_typing( struct im_connection *ic, char *who, int typing )
-{
- return( 1 );
-}
-
//static char *twitter_set_display_name( set_t *set, char *value )
//{
// return value;
@@ -551,13 +541,11 @@ void twitter_initmodule()
ret->chat_msg = twitter_chat_msg;
ret->chat_invite = twitter_chat_invite;
ret->chat_leave = twitter_chat_leave;
- ret->chat_with = twitter_chat_with;
ret->keepalive = twitter_keepalive;
ret->add_permit = twitter_add_permit;
ret->rem_permit = twitter_rem_permit;
ret->add_deny = twitter_add_deny;
ret->rem_deny = twitter_rem_deny;
- ret->send_typing = twitter_send_typing;
ret->buddy_data_add = twitter_buddy_data_add;
ret->buddy_data_free = twitter_buddy_data_free;
ret->handle_cmp = g_strcasecmp;