pidgin: 6c48da37: No more warnings when receiving Gadu-Gad...
tomkiewicz at cpw.pidgin.im
tomkiewicz at cpw.pidgin.im
Mon Jun 13 15:25:49 EDT 2011
----------------------------------------------------------------------
Revision: 6c48da37034a572986f08a85f9d99927f511b9d3
Parent: e18bb2d838033369ca1761773926f3fcc822bd57
Author: tomkiewicz at cpw.pidgin.im
Date: 06/13/11 15:22:24
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6c48da37034a572986f08a85f9d99927f511b9d3
Changelog:
No more warnings when receiving Gadu-Gadu system messages - fixes #13914
Changes against parent e18bb2d838033369ca1761773926f3fcc822bd57
patched libpurple/protocols/gg/gg.c
-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c 8434c4ecf17d739b187479bec0e41fd197156eb4
+++ libpurple/protocols/gg/gg.c 441d8d1775e8bce5e1bf5d230823c11f8137c8a5
@@ -1914,6 +1914,17 @@ static void ggp_async_login_handler(gpoi
PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
_("Connection failed"));
break;
+ case GG_EVENT_MSG:
+ if (ev->event.msg.sender == 0)
+ /* system messages are mostly ads */
+ purple_debug_info("gg", "System message:\n%s\n",
+ ev->event.msg.message);
+ else
+ purple_debug_warning("gg", "GG_EVENT_MSG: message from user %u "
+ "unexpected while connecting:\n%s\n",
+ ev->event.msg.sender,
+ ev->event.msg.message);
+ break;
default:
purple_debug_error("gg", "strange event: %d\n", ev->type);
break;
More information about the Commits
mailing list