changeset 31275:f13f06f1f515

Use the real ack callback.
author masca@cpw.pidgin.im
date Thu, 01 Jul 2010 00:50:39 +0000
parents 237e2c2874e6
children f86ebed1930a
files libpurple/protocols/msn/switchboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Wed Jun 30 20:41:58 2010 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Thu Jul 01 00:50:39 2010 +0000
@@ -757,8 +757,8 @@
 
 	msg = cmd->trans->data;
 
-	if (msg->ack_cb != NULL)
-		msg->ack_cb(msg, msg->ack_data);
+	if (msg->part && msg->part->ack_cb != NULL)
+		msg->part->ack_cb(msg->part, msg->part->ack_data);
 
 	swboard = cmdproc->data;
 	if (swboard)