--- a/finch/gntpounce.c Thu Jun 27 20:16:31 2013 +0530 +++ b/finch/gntpounce.c Thu Jun 27 20:27:41 2013 +0530 @@ -780,7 +780,7 @@ static void pounce_cb(PurplePounce *pounce, PurplePounceEvent events, void *data) { - PurpleConversation *conv; + PurpleIMConversation *im; PurpleAccount *account; PurpleBuddy *buddy; const char *pouncee; @@ -874,12 +874,12 @@ if (message != NULL) { - conv = purple_conversations_find_im_with_account(pouncee, account); + im = purple_conversations_find_im_with_account(pouncee, account); - if (conv == NULL) - conv = purple_im_conversation_new(account, pouncee); + if (im == NULL) + im = purple_im_conversation_new(account, pouncee); - purple_conversation_write(conv, NULL, message, + purple_conversation_write(PURPLE_CONVERSATION(im), NULL, message, PURPLE_MESSAGE_SEND, time(NULL)); serv_send_im(purple_account_get_connection(account), (char *)pouncee, (char *)message, 0);