save posts before notifying the room

This makes sure that the post is created even if there is an exception
throw when notifying the room.