aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/account.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-12-04 22:52:48 -0300
committerdequis <dx@dxzone.com.ar>2015-12-04 22:52:48 -0300
commit9b02bab9832308cf88d86a379b3afd2f142816e2 (patch)
tree99ad03455e1c15c0b3804d04c50e6d693eeb88f7 /protocols/account.c
parent48b5fef4553ff38711bbdf1773b13841cf0f13c3 (diff)
Remove facebook XMPP code, show error pointing at the new plugin
Facebook's oauth has been broken for months, and in the last few days they broke plain logins too, so I just added an error message that says this when you do "account on": Facebook's XMPP service is gone. Try this instead: https://wiki.bitlbee.org/HowtoFacebookMQTT Also nuked all the oauth related code, except some parts of lib/oauth2.c which seemed generic enough to maybe help in the future with other not-really-compliant not-really-implementations of the not-really-oauth2 not-really-spec
Diffstat (limited to 'protocols/account.c')
-rw-r--r--protocols/account.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/account.c b/protocols/account.c
index e1025a53..fcafe215 100644
--- a/protocols/account.c
+++ b/protocols/account.c
@@ -87,8 +87,6 @@ account_t *account_add(bee_t *bee, struct prpl *prpl, char *user, char *pass)
if (strstr(a->user, "@gmail.com") ||
strstr(a->user, "@googlemail.com")) {
strcpy(tag, "gtalk");
- } else if (strstr(a->user, "@chat.facebook.com")) {
- strcpy(tag, "fb");
}
}