Fix sending message to a room

Closes #4