I could be completely wrong about this.

in drupal_send, $message is defined by reading the database.
in drupal_channel_add, $message is not defined but used to define data for the variable "$drupalchat_nodejs_message"

'data' => drupal_json_encode($message),

Should $message be defined like in drupal_send.

Again I could just not be understanding something.