pidgin/pidgin-2.8.0-gg-disconnect.patch

15 lines
602 B
Diff
Raw Permalink Normal View History

2012-11-19 18:37:20 +04:00
--- pidgin-2.8.0/libpurple/protocols/gg/gg.c.orig 2011-06-08 03:10:11.000000000 +0200
+++ pidgin-2.8.0/libpurple/protocols/gg/gg.c 2011-06-08 03:13:44.000000000 +0200
2012-02-01 14:36:24 +04:00
@@ -1816,6 +1816,11 @@
2012-11-19 18:37:20 +04:00
case GG_EVENT_PUBDIR50_SEARCH_REPLY:
ggp_pubdir_reply_handler(gc, ev->event.pubdir50);
break;
+ case GG_EVENT_DISCONNECT:
2012-02-01 14:36:24 +04:00
+ purple_connection_error_reason (gc,
+ PURPLE_CONNECTION_ERROR_OTHER_ERROR,
+ _("Server Disconnect."));
+ break;
2012-11-19 18:37:20 +04:00
case GG_EVENT_TYPING_NOTIFICATION:
ggp_typing_notification_handler(gc, ev->event.typing_notification.uin,
ev->event.typing_notification.length);