Skip to content

Commit

Permalink
Fix links in readme
Browse files Browse the repository at this point in the history
Previous approach did not work, github provides anchors anyway
  • Loading branch information
mloughran committed Dec 9, 2013
1 parent 6acac6a commit 27b77dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ PTPusherChannel *channel = [self.client subscribeToChannelNamed:@"chat"];

This method will add the appropriate ```private-``` prefix to the channel name for you and return a channel cast to the correct PTPusherChannel subclass PTPusherPrivateChannel.

Subscribing to private channels needs server-side authorisation. See section [Channel Authorisation](#channel-auth) for details.
Subscribing to private channels needs server-side authorisation. See section [Channel Authorisation](#channel-authorisation) for details.

```objc
// subscribe to private-chat channel
Expand All @@ -87,7 +87,7 @@ PTPusherPrivateChannel *private = [self.client subscribeToPrivateChannelNamed:@"
This method will add the appropriate ```presence-``` prefix to the channel name for you and return a channel cast to the correct PTPusherChannel subclass PTPusherPresenceChannel.
Subscribing to presence channels needs server-side authorisation. See section [Channel Authorisation](#channel-auth) for details.
Subscribing to presence channels needs server-side authorisation. See section [Channel Authorisation](#channel-authorisation) for details.
```objc
// subscribe to presence-chat channel
Expand Down Expand Up @@ -122,7 +122,7 @@ When the client reconnects, all previously subscribed channels will be resubcrib

If you explicitly unsubscribe from a channel, **all event bindings will be removed and the client will remove the channel object from it's list of subscribed channels**. If no other code has a strong reference to the channel object, it will be deallocated. If you resubscribe to the channel, a new channel object will be created. You should bear this in mind if you maintain any strong references to a channel object in your application code.

### <a id="channel-auth"></a>Channel authorisation
### Channel authorisation

Private and presence channels require server-side authorisation before they can connect.

Expand Down

0 comments on commit 27b77dd

Please sign in to comment.