Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 26255:53b04369fb10
Only show the oscar error "we couldn't fetch your buddy list, but
don't worry it will probably show up in a few minutes" once. Thanks
to rtaft for the patch. Fixes #4845.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 09 Mar 2009 02:19:51 +0000 |
parents | 0e93bbb7f5ca |
children | 37a3f30a8d80 |
comparison
equal
deleted
inserted
replaced
26254:7114d475a9e7 | 26255:53b04369fb10 |
---|---|
5028 va_end(ap); | 5028 va_end(ap); |
5029 | 5029 |
5030 purple_debug_error("oscar", "ssi: SNAC error %hu\n", reason); | 5030 purple_debug_error("oscar", "ssi: SNAC error %hu\n", reason); |
5031 | 5031 |
5032 if (reason == 0x0005) { | 5032 if (reason == 0x0005) { |
5033 purple_notify_error(gc, NULL, _("Unable to Retrieve Buddy List"), | |
5034 _("The AIM servers were temporarily unable to send your buddy list. Your buddy list is not lost, and will probably become available in a few minutes.")); | |
5035 if (od->getblisttimer > 0) | 5033 if (od->getblisttimer > 0) |
5036 purple_timeout_remove(od->getblisttimer); | 5034 purple_timeout_remove(od->getblisttimer); |
5035 else | |
5036 /* We only show this error the first time it happens */ | |
5037 purple_notify_error(gc, NULL, | |
5038 _("Unable to Retrieve Buddy List"), | |
5039 _("The AIM servers were temporarily unable to send " | |
5040 "your buddy list. Your buddy list is not lost, and " | |
5041 "will probably become available in a few minutes.")); | |
5037 od->getblisttimer = purple_timeout_add(30000, purple_ssi_rerequestdata, od); | 5042 od->getblisttimer = purple_timeout_add(30000, purple_ssi_rerequestdata, od); |
5038 return 1; | 5043 return 1; |
5039 } | 5044 } |
5040 | 5045 |
5041 oscar_set_status_icq(purple_connection_get_account(gc)); | 5046 oscar_set_status_icq(purple_connection_get_account(gc)); |