stevegraham/slanger — pull request #46 by markburns (2012-05-06 20:32:44+00:00)
Title: extracted Roster class

Thought I'd start a pull request based on this approach:

https://github.com/blog/1124-how-we-use-pull-requests-to-build-github

I think the PresenceChannel class is still untidy along with the ideas of subscription/subscribers/roster etc.

I think maybe rather than Subscription#subscribe it should be Channel#subscribe etc.

Also if EM::Channel#subscribe (or a thin wrapper to it) returned a UUID we wouldn't need internal_subscription_table