comparison libpurple/protocols/jabber/jabber.c @ 25195:98681dad9355

Change error message shown when trying to buzz a buddy who doesn't announce support to reflect the fact that disabling "attention" also implies the client should not advertize support, or as we do in libpurple, don't announce support when the status is set to "Busy".
author Marcus Lundblad <ml@update.uu.se>
date Tue, 13 Jan 2009 19:23:07 +0000
parents b874034d4df2
children 9d023b5d7daf
comparison
equal deleted inserted replaced
25194:5ba9484fe17e 25195:98681dad9355
2489 PURPLE_MESSAGE_SYSTEM|PURPLE_MESSAGE_NOTIFY, time(NULL)); 2489 PURPLE_MESSAGE_SYSTEM|PURPLE_MESSAGE_NOTIFY, time(NULL));
2490 g_free(str); 2490 g_free(str);
2491 2491
2492 return TRUE; 2492 return TRUE;
2493 } else { 2493 } else {
2494 *error = g_strdup_printf(_("Unable to buzz, because the user %s does not support it."), username); 2494 *error = g_strdup_printf(_("Unable to buzz, because the user %s does"
2495 "not support it or do not wish to receive buzzes now."),
2496 username);
2495 return FALSE; 2497 return FALSE;
2496 } 2498 }
2497 } 2499 }
2498 2500
2499 static PurpleCmdRet jabber_cmd_buzz(PurpleConversation *conv, 2501 static PurpleCmdRet jabber_cmd_buzz(PurpleConversation *conv,