pidgin: 04e9f838: Gadu-Gadu: option to show links from str...
tomkiewicz at cpw.pidgin.im
tomkiewicz at cpw.pidgin.im
Wed Oct 12 17:10:44 EDT 2011
----------------------------------------------------------------------
Revision: 04e9f8380ff2e2fc411cafb524560581d9442e59
Parent: 8c31d51999be027bd35d71803f91cfce8ee76da9
Author: tomkiewicz at cpw.pidgin.im
Date: 10/12/11 17:06:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/04e9f8380ff2e2fc411cafb524560581d9442e59
Changelog:
Gadu-Gadu: option to show links from strangers. Fixes #10591
Changes against parent 8c31d51999be027bd35d71803f91cfce8ee76da9
patched ChangeLog
patched libpurple/protocols/gg/gg.c
-------------- next part --------------
============================================================
--- ChangeLog 96420b63108e70998a840e94ff9673a55552370b
+++ ChangeLog 4212c8f3910d6d43e6a5b7b2df077818507ded7b
@@ -14,6 +14,7 @@ version 3.0.0 (??/??/????):
(#14648)
* Fixed password change dialog and problems with connecting to accounts
with non-ASCII passwords. (Tomasz Wasilczyk) (#14652)
+ * Option to show links from strangers. (Tomasz Wasilczyk) (#10591)
MXit:
* Remove all reference to Hidden Number.
============================================================
--- libpurple/protocols/gg/gg.c 9f926b1bf97e5d6700fcb57854f1852d6adeb06a
+++ libpurple/protocols/gg/gg.c 38954a8bc99a7353799992d3f0c2679877abeffb
@@ -2266,7 +2266,11 @@ static void ggp_login(PurpleAccount *acc
}
glp->image_size = 255;
+ glp->status_flags = GG_STATUS_FLAG_UNKNOWN;
+ if (purple_account_get_bool(account, "show_links_from_strangers", 1))
+ glp->status_flags |= GG_STATUS_FLAG_SPAM;
+
presence = purple_account_get_presence(account);
status = purple_presence_get_active_status(presence);
@@ -2958,6 +2962,11 @@ static void init_plugin(PurplePlugin *pl
prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
option);
+ option = purple_account_option_bool_new(_("Show links from strangers"),
+ "show_links_from_strangers", 1);
+ prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
+ option);
+
my_protocol = plugin;
gg_debug_handler = purple_gg_debug_handler;
More information about the Commits
mailing list