Mercurial > pidgin.yaz
changeset 11420:ac07cafacb05
[gaim-migrate @ 13657]
- Fixed session beginning messages.
- Fixed double notes
- Disabled debug popup
committer: Tailor Script <tailor@pidgin.im>
author | Christian Muise <christian.muise@gmail.com> |
---|---|
date | Fri, 02 Sep 2005 05:21:34 +0000 |
parents | 35a38bb949a5 |
children | d01e4c9855e0 |
files | plugins/musicmessaging/musicmessaging.c |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/musicmessaging/musicmessaging.c Fri Sep 02 03:59:56 2005 +0000 +++ b/plugins/musicmessaging/musicmessaging.c Fri Sep 02 05:21:34 2005 +0000 @@ -121,8 +121,6 @@ void music_messaging_change_confirmed(const int session, const char *command, const char *parameters) { - gaim_notify_message(plugin_pointer, GAIM_NOTIFY_MSG_INFO, command, - parameters, NULL, NULL, NULL); MMConversation *mmconv = (MMConversation *)g_list_nth_data(conversations, session); @@ -134,7 +132,6 @@ g_string_append_printf(to_send, "##MM## confirm %s %s##MM##", command, parameters); gaim_conv_im_send(GAIM_CONV_IM(mmconv->conv), to_send->str); - send_change_confirmed(session, command, parameters); } else { /* Do nothing. If they aren't the originator, then they can't confirm. */ @@ -322,12 +319,12 @@ else if (0 == strncmp(*message, MUSICMESSAGING_START_MSG, strlen(MUSICMESSAGING_START_MSG))) { gaim_debug_misc("gaim-musicmessaging", "Sent MM request.\n"); - message = 0; + return FALSE; } else if (0 == strncmp(*message, MUSICMESSAGING_CONFIRM_MSG, strlen(MUSICMESSAGING_CONFIRM_MSG))) { gaim_debug_misc("gaim-musicmessaging", "Sent MM confirm.\n"); - message = 0; + return FALSE; } else if (0 == strncmp(*message, "test1", strlen("test1"))) { @@ -420,7 +417,6 @@ } else if (strstr(*message, MUSICMESSAGING_START_MSG)) { - message = 0; gaim_debug_misc("gaim-musicmessaging", "Received MM request.\n"); if (!(mmconv->originator)) { @@ -431,12 +427,12 @@ } else if (strstr(*message, MUSICMESSAGING_CONFIRM_MSG)) { - message = 0; gaim_debug_misc("gaim-musicmessagin", "Received MM confirm.\n"); if (mmconv->originator) { start_session(mmconv); + return FALSE; } } else