Fixed bug where transmitting to an empty room causes a crash.