I-ARE-RIO/TalkerTexasRanger — Issue #22: Listen for the "connected" event before allowing messages sent to that room.
Author: I-ARE-RIO
Created: 2012-01-21 16:19:55+00:00
State: open
Labels: Improvement

If we try to send any message to a room when not yet connected we will receive an exception.
This should also handle if a room is disconnected for some reason.

throw new Error('CryptoStream is not writable');
^
Error: CryptoStream is not writable