aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/purple/bpurple.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-12-25 21:13:57 -0300
committerdequis <dx@dxzone.com.ar>2016-12-25 21:20:09 -0300
commit59ccef5cc9f1ed67112248c20649ce8005188173 (patch)
tree5048e4a2299b879f1c50a68c11a3cd5c47aa65c2 /protocols/purple/bpurple.h
parent6d212f401cf7eeb3eabe315e610578f5aac74607 (diff)
purple: Call imcb_buddy_nick_change() on a few whitelisted plugins
The whitelist includes hangouts, funyahoo and icq. These plugins tend to have numeric or meaningless usernames. With this change, users don't have to do 'ac whatever set nick_format %full_name' anymore. Just sugar.
Diffstat (limited to 'protocols/purple/bpurple.h')
-rw-r--r--protocols/purple/bpurple.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/purple/bpurple.h b/protocols/purple/bpurple.h
index 81be2575..9b34cdff 100644
--- a/protocols/purple/bpurple.h
+++ b/protocols/purple/bpurple.h
@@ -6,6 +6,8 @@
#define PURPLE_REQUEST_HANDLE "purple_request"
+#define PURPLE_OPT_SHOULD_SET_NICK 1
+
struct purple_data
{
PurpleAccount *account;
@@ -14,6 +16,8 @@ struct purple_data
guint next_request_id;
char *chat_list_server;
GSList *filetransfers;
+
+ int flags;
};
#endif /* !BPURPLE_H */