Wed, 14 Nov 2012 19:44:44 +0100
Gadu-Gadu: update for the newest devel libgadu
| libpurple/protocols/gg/chat.c | file | annotate | diff | comparison | revisions | |
| libpurple/protocols/gg/gg.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/gg/chat.c Wed Nov 07 18:44:53 2012 +0100 +++ b/libpurple/protocols/gg/chat.c Wed Nov 14 19:44:44 2012 +0100 @@ -202,8 +202,7 @@ 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 */ }
--- a/libpurple/protocols/gg/gg.c Wed Nov 07 18:44:53 2012 +0100 +++ b/libpurple/protocols/gg/gg.c Wed Nov 14 19:44:44 2012 +0100 @@ -333,12 +333,7 @@ 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 @@ 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: