message: more pipeline changes
diff: @@ -93,6 +93,16 @@ function SocketBot(configuration) {
  }, 30000);
  };
  + controller.middleware.categorize.use(function(bot, message, next) {
  +
  + if (message.type == 'message') {
  + message.type = 'message_received';
  + }
  +
  + next();
  +
  + });
  +
  // simple message clone because its already in the right format!
  controller.middleware.format.use(function(bot, message, platform_message, next) {
  