Mercurial > pidgin
diff libpurple/protocols/myspace/zap.c @ 19715:77673386d31d
I missed this code in the last commit to remove the USE_ATTENTION_API conditional.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 10 Sep 2007 20:54:31 +0000 |
parents | 43a8cd1f708c |
children | 472e263e88a8 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/zap.c Mon Sep 10 20:51:59 2007 +0000 +++ b/libpurple/protocols/myspace/zap.c Mon Sep 10 20:54:31 2007 +0000 @@ -96,23 +96,6 @@ g_return_val_if_fail(session != NULL, FALSE); g_return_val_if_fail(username != NULL, FALSE); - - types = msim_attention_types(session->account); - - attn = g_list_nth_data(types, code); - if (!attn) { - return FALSE; - } - - - zap_description = g_strdup_printf("*** Attention: %s %s ***", attn->outgoing_description, - username); - - serv_got_im(session->gc, username, zap_description, - PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_SYSTEM, time(NULL)); - - g_free(zap_description); - /* Construct and send the actual zap command. */ zap_string = g_strdup_printf("!!!ZAP_SEND!!!=RTE_BTN_ZAPS_%d", code);