/cpw/tomkiewicz/gg11: 46f06ef265e3: Gadu-Gadu: update for the ne...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Wed Nov 14 13:44:52 EST 2012


Changeset: 46f06ef265e35e6589fad4fe653b19ba5f1a6529
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2012-11-14 19:44 +0100
Branch:	 default
URL: http://hg.pidgin.im/cpw/tomkiewicz/gg11/rev/46f06ef265e3

Description:

Gadu-Gadu: update for the newest devel libgadu

diffstat:

 libpurple/protocols/gg/chat.c |  3 +--
 libpurple/protocols/gg/gg.c   |  8 +-------
 2 files changed, 2 insertions(+), 9 deletions(-)

diffs (38 lines):

diff --git a/libpurple/protocols/gg/chat.c b/libpurple/protocols/gg/chat.c
--- a/libpurple/protocols/gg/chat.c
+++ b/libpurple/protocols/gg/chat.c
@@ -202,8 +202,7 @@ void ggp_chat_got_event(PurpleConnection
 		ggp_chat_joined(chat, me);
 		ggp_chat_open_conv(chat);
 	}
-	else if (ev->type == GG_EVENT_CHAT_INVITE_ACK ||
-		ev->type == GG_EVENT_CHAT_SEND_MSG_ACK)
+	else if (ev->type == GG_EVENT_CHAT_INVITE_ACK)
 	{
 		/* ignore */
 	}
diff --git a/libpurple/protocols/gg/gg.c b/libpurple/protocols/gg/gg.c
--- a/libpurple/protocols/gg/gg.c
+++ b/libpurple/protocols/gg/gg.c
@@ -333,12 +333,7 @@ static void ggp_callback_recv(gpointer _
 		case GG_EVENT_MSG:
 			ggp_message_got(gc, &ev->event.msg);
 			break;
-		case GG_EVENT_ACK:
-			/* Changing %u to %i fixes compiler warning */
-			purple_debug_info("gg",
-				"ggp_callback_recv: message sent to: %i, delivery status=%d, seq=%d\n",
-				ev->event.ack.recipient, ev->event.ack.status,
-				ev->event.ack.seq);
+		case GG_EVENT_ACK110:
 			break;
 		case GG_EVENT_IMAGE_REPLY:
 			ggp_image_recv(gc, &ev->event.image_reply);
@@ -389,7 +384,6 @@ static void ggp_callback_recv(gpointer _
 		case GG_EVENT_CHAT_INFO_UPDATE:
 		case GG_EVENT_CHAT_CREATED:
 		case GG_EVENT_CHAT_INVITE_ACK:
-		case GG_EVENT_CHAT_SEND_MSG_ACK:
 			ggp_chat_got_event(gc, ev);
 			break;
 		default:



More information about the Commits mailing list