Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.