This commit is contained in:
Christopher Cookman 2025-06-21 20:27:22 -06:00
parent 685977f771
commit e991b42e60

View file

@ -516,8 +516,8 @@ xmpp.on("stanza", (stanza) => {
connection.ws.send(JSON.stringify({ connection.ws.send(JSON.stringify({
"type": "iem-message", "type": "iem-message",
"data": { "data": {
"channel": getWFOByRoom(fromChannel), "channel": fromChannel,
"fromChannel": fromChannel, "wfo": getWFOByRoom(fromChannel),
"event": evt, "event": evt,
"body": bodyData, "body": bodyData,
"timestamp": product_id.timestamp, "timestamp": product_id.timestamp,
@ -545,8 +545,8 @@ xmpp.on("stanza", (stanza) => {
connection.ws.send(JSON.stringify({ connection.ws.send(JSON.stringify({
"type": "iem-message", "type": "iem-message",
"data": { "data": {
"channel": getWFOByRoom(fromChannel), "channel": fromChannel,
"fromChannel": fromChannel, "wfo": getWFOByRoom(fromChannel),
"event": evt, "event": evt,
"body": bodyData.string, "body": bodyData.string,
"timestamp": product_id.timestamp, "timestamp": product_id.timestamp,
@ -573,8 +573,8 @@ xmpp.on("stanza", (stanza) => {
evt, stanza, product_id, product_id_raw, bodyData, body, sentData: { evt, stanza, product_id, product_id_raw, bodyData, body, sentData: {
"type": "iem-message", "type": "iem-message",
"data": { "data": {
"channel": getWFOByRoom(fromChannel), "channel": fromChannel,
"fromChannel": fromChannel, "wfo": getWFOByRoom(fromChannel),
"event": evt, "event": evt,
"body": bodyData, "body": bodyData,
"timestamp": product_id.timestamp, "timestamp": product_id.timestamp,