/cpw/tomkiewicz/gg11: e5268a401d65: Gadu-Gadu: error message abo...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Sat Nov 3 07:10:13 EDT 2012


Changeset: e5268a401d6534ce471e8b21836e155c6d2c5ee0
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2012-11-03 12:10 +0100
Branch:	 default
URL: http://hg.pidgin.im/cpw/tomkiewicz/gg11/rev/e5268a401d65

Description:

Gadu-Gadu: error message about bad sender-recipient relation while sending a file

diffstat:

 libpurple/protocols/gg/edisc.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff --git a/libpurple/protocols/gg/edisc.c b/libpurple/protocols/gg/edisc.c
--- a/libpurple/protocols/gg/edisc.c
+++ b/libpurple/protocols/gg/edisc.c
@@ -270,6 +270,9 @@ static void ggp_edisc_xfer_init_ticket_s
 		int error_id = ggp_edisc_parse_error(data);
 		if (error_id == 206) /* recipient not logged in */
 			ggp_edisc_xfer_error(xfer, _("Recipient not logged in"));
+		else if (error_id == 207) /* bad sender recipient relation */
+			ggp_edisc_xfer_error(xfer, _("Recipient didn't added "
+				"you to his buddy list"));
 		else
 			ggp_edisc_xfer_error(xfer, _("Cannot offer sending a file"));
 		return;



More information about the Commits mailing list