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.ai
Browse files Browse the repository at this point in the history
Signed-off-by: John Gabelmann <john@floof.dog>
  • Loading branch information
ReticentJohn committed Sep 13, 2018
1 parent 7c5b708 commit 11e7ae7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DireFloof/DWLoginViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ - (IBAction)loginButtonPressed:(id)sender
[self.loginActivityIndicator startAnimating];
self.loginButton.hidden = YES;

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

[[MSAppStore sharedStore] setMastodonInstance:self.instanceField.text];

[[MSAuthStore sharedStore] login:^(BOOL success) {
Expand Down

1 comment on commit 11e7ae7

@sapakus
Copy link

Choose a reason for hiding this comment

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

Was this ban due to Apple or ...?

Please sign in to comment.