message: Removed guid generation from Sockets
  It is a responsibility of the client side code to generate guid
diff: @@ -49,26 +49,9 @@ function SocketBot(configuration) {
  if (message.type == 'message') {
  controller.ingest(bot, message);
  - } else if (message.type == 'hello' && !reconnected) {
  -
  - var uid = message.user;
  - if (!uid) {
  - uid = guid();
  - message.user = uid;
  - bot.send({
  - type: 'hello',
  - user: uid,
  - });
  - controller.trigger(message.type, [bot, message]);
  - } else {
  - controller.trigger('welcome_back', [bot, message]);
  - }
  -
  } else {
  controller.trigger(message.type, [bot, message]);
  }
  -
  -
  });
  });
  @@ -248,14 +231,3 @@ function SocketBot(configuration) {
  }
  module.exports = SocketBot;
  -
  -
  -function guid() {
  - function s4() {
  - return Math.floor((1 + Math.random()) * 0x10000)
  - .toString(16)
  - .substring(1);
  - }
  - return s4() + s4() + '-' + s4() + '-' + s4() + '-' +
  - s4() + '-' + s4() + s4() + s4();
  -}
  