Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Hardcode ban of gab.anything
Browse files Browse the repository at this point in the history
Signed-off-by: John Gabelmann <john@floof.dog>
  • Loading branch information
ReticentJohn committed May 30, 2019
1 parent 0f35a51 commit 92afdbd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions DireFloof.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -954,9 +954,20 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
"zh-Hans",
ja,
da,
sv,
nb,
ko,
de,
es,
pl,
ca,
nl,
);
mainGroup = 04EC13E31E46A966000E15A6;
productRefGroup = 04EC13ED1E46A966000E15A6 /* Products */;
Expand Down
2 changes: 1 addition & 1 deletion DireFloof/DWLoginViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ - (IBAction)loginButtonPressed:(id)sender
[self.loginActivityIndicator startAnimating];
self.loginButton.hidden = YES;

if ([self.instanceField.text.lowercaseString containsString:@"gab.ai"]) {
if ([self.instanceField.text.lowercaseString containsString:@"gab."]) {
return;
}

Expand Down

2 comments on commit 92afdbd

@trendix
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit looks like a very good reason to stop using Amaroq.

@ReticentJohn
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're free to think so @trendix. Tell your friends, announce it to the world. Stop using Amaroq.

Please sign in to comment.