lukeredpath/libPusher — pull request #104 by fillito (2013-07-20 17:01:49+00:00)
Title: Pull requests/avoid nsassert

Hi !

I don't see the point of using NSAssert here. In some cases, the application could try to send a message before connection is already stablished (Try to subscribe to a presence channel for instance when recovering from background state), and the application crashes if this occur.
Whether or not this should be fixed in the application, launching an assert don't seems the right procedure to me.

This message should be ignored instead and keep the normal running. I think it's better to loose a message than crashing the application