Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

403 also posts SCAudioStreamDidBecomeUnavailableNotification

  • Loading branch information...
commit 880e87d8599f9be19e5d5671ac8ecf15d2f4d53d 1 parent a1224af
@stigi stigi authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Sources/SoundCloudAPI/SCAudioStream.m
View
1  Sources/SoundCloudAPI/SCAudioStream.m
@@ -437,6 +437,7 @@ - (void)oauthConnection:(NXOAuth2Connection *)fetcher didFailWithError:(NSError
// tell the world if Not Found or Gone
if (statusCode == 404 ||
+ statusCode == 403 ||
statusCode == 410) {
[[NSNotificationCenter defaultCenter] postNotificationName:SCAudioStreamDidBecomeUnavailableNotification object:self];
}
Please sign in to comment.
Something went wrong with that request. Please try again.