diff libpurple/protocols/msn/msn.c @ 31007:388ca4797d7b

Replace the mpop account setting with a session boolean, because I can't get a good signal for when the user changes an account setting.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 05 Dec 2010 08:13:13 +0000
parents dc996aa83f49
children b78991ee326c
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Sun Dec 05 03:09:52 2010 +0000
+++ b/libpurple/protocols/msn/msn.c	Sun Dec 05 08:13:13 2010 +0000
@@ -1173,8 +1173,7 @@
 	m = g_list_append(m, act);
 	m = g_list_append(m, NULL);
 
-	if (purple_account_get_bool(session->account, "mpop", TRUE)
-	 && session->protocol_ver >= 16)
+	if (session->enable_mpop && session->protocol_ver >= 16)
 	{
 		act = purple_plugin_action_new(_("View Locations..."),
 		                               msn_show_locations);