Ugh
This commit is contained in:
parent
685977f771
commit
e991b42e60
12
index.js
12
index.js
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue