adium-1.4 3647:af8314033d64: Ask the user to login to Facebook w...
commits at adium.im
commits at adium.im
Sun Oct 30 18:50:51 UTC 2011
details: http://hg.adium.im/adium-1.4/rev/af8314033d64
revision: 3647:af8314033d64
branch: (none)
author: Frank Dowsett <wixardy at adium.im>
date: Sun Oct 30 13:35:26 2011 -0400
Ask the user to login to Facebook when we get a bad password response. Fixes #15583
(transplanted from 2d15405b6d7163cd6b8955c8fb88cbbde941788f)
diffs (22 lines):
diff -r 209a3186ccb7 -r af8314033d64 Plugins/Purple Service/AIFacebookXMPPAccount.m
--- a/Plugins/Purple Service/AIFacebookXMPPAccount.m Sun Oct 30 19:49:53 2011 +0100
+++ b/Plugins/Purple Service/AIFacebookXMPPAccount.m Sun Oct 30 13:35:26 2011 -0400
@@ -203,13 +203,17 @@
[self requestFacebookAuthorization];
} else {
+ [self setValue:nil
+ forProperty:@"mustPromptForPasswordOnNextConnect"
+ notify:NotifyNever];
[super passwordReturnedForConnect:inPassword returnCode:returnCode context:inContext];
}
}
- (void)retrievePasswordThenConnect
{
- if ([self boolValueForProperty:@"Prompt For Password On Next Connect"])
+ if ([self boolValueForProperty:@"Prompt For Password On Next Connect"] ||
+ [self boolValueForProperty:@"mustPromptForPasswordOnNextConnect"])
/* We attempted to connect, but we had incorrect authorization. Display our auth request window. */
[self requestFacebookAuthorization];
More information about the commits
mailing list