aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-05-13 04:43:24 -0300
committerdequis <dx@dxzone.com.ar>2015-05-13 04:43:24 -0300
commita7336698d6fa7b561ac56166eef3ec07adcbee41 (patch)
tree25e80a8e146f4b872f7e0ff2afba6ef96c07e7fb
parent2730c79659ae3b4ca857859a9ade8cfd1cd92ac4 (diff)
msn: Remove nudges
-rw-r--r--protocols/msn/msn.c26
-rw-r--r--protocols/msn/msn.h7
2 files changed, 0 insertions, 33 deletions
diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c
index dbacb413..7d0805a7 100644
--- a/protocols/msn/msn.c
+++ b/protocols/msn/msn.c
@@ -339,30 +339,6 @@ static void msn_buddy_data_free(bee_user_t *bu)
g_tree_remove(md->domaintree, bu->handle);
}
-GList *msn_buddy_action_list(bee_user_t *bu)
-{
- static GList *ret = NULL;
-
- if (ret == NULL) {
- static const struct buddy_action ba[2] = {
- { "NUDGE", "Draw attention" },
- };
-
- ret = g_list_prepend(ret, (void *) ba + 0);
- }
-
- return ret;
-}
-
-void *msn_buddy_action(struct bee_user *bu, const char *action, char * const args[], void *data)
-{
- if (g_strcasecmp(action, "NUDGE") == 0) {
- msn_buddy_msg(bu->ic, bu->handle, NUDGE_MESSAGE, 0);
- }
-
- return NULL;
-}
-
void msn_initmodule()
{
struct prpl *ret = g_new0(struct prpl, 1);
@@ -391,8 +367,6 @@ void msn_initmodule()
ret->handle_cmp = g_strcasecmp;
ret->buddy_data_add = msn_buddy_data_add;
ret->buddy_data_free = msn_buddy_data_free;
- ret->buddy_action_list = msn_buddy_action_list;
- ret->buddy_action = msn_buddy_action;
register_protocol(ret);
}
diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h
index 75dc2b7e..b76fbd40 100644
--- a/protocols/msn/msn.h
+++ b/protocols/msn/msn.h
@@ -29,7 +29,6 @@
/* Some hackish magicstrings to make special-purpose messages/switchboards.
*/
#define TYPING_NOTIFICATION_MESSAGE "\r\r\rBEWARE, ME R TYPINK MESSAGE!!!!\r\r\r"
-#define NUDGE_MESSAGE "\r\r\rSHAKE THAT THING\r\r\r"
#define GROUPCHAT_SWITCHBOARD_MESSAGE "\r\r\rME WANT TALK TO MANY PEOPLE\r\r\r"
#ifdef DEBUG_MSN
@@ -107,12 +106,6 @@
"TypingUser: %s\r\n" \
"\r\n\r\n"
-#define MSN_NUDGE_HEADERS "MIME-Version: 1.0\r\n" \
- "Content-Type: text/x-msnmsgr-datacast\r\n" \
- "\r\n" \
- "ID: 1\r\n" \
- "\r\n"
-
#define PROFILE_URL "http://members.msn.com/"
typedef enum {