eion/purple-hangouts

Parents 081dbaf240e2
Children 196e9ce57e00
Add support for saving passwords with bitlbee, the Right Way (TM)
--- a/hangouts_auth.c Tue Jun 26 11:13:48 2018 +1200
+++ b/hangouts_auth.c Thu Jul 05 18:56:36 2018 +1200
@@ -66,6 +66,12 @@
{
bitlbee_account_t *acc;
bitlbee_im_connection *imconn;
+
+ gboolean result = GPOINTER_TO_INT(purple_signal_emit_return_1(purple_accounts_get_handle(), "bitlbee-set-account-password", account, password));
+
+ if (result) {
+ return;
+ }
if (bitlbee_password_funcs_loaded == FALSE) {
bitlbee_module = dlopen(NULL, RTLD_LAZY);