'Send a message to a room!'

@defer.inlineCallbacks
def send_message(self, room_name, sender, body):

    destinations = (yield self.get_servers_for_context(room_name))
    try:
        (yield self.replication_layer.send_pdu(Pdu.create_new(context=room_name, pdu_type='sy.room.message', content={'sender': sender, 'body': body}, origin=self.server_name, destinations=destinations)))
    except Exception as e:
        logger.exception(e)
