Browse Source

log

push-params
Evan Feenstra 5 years ago
parent
commit
471cc540c2
  1. 1
      api/network/receive.ts
  2. 1
      dist/api/network/receive.js
  3. 2
      dist/api/network/receive.js.map

1
api/network/receive.ts

@ -34,6 +34,7 @@ export const typesToReplay=[ // should match typesToForward
msgtypes.message, msgtypes.group_join, msgtypes.group_leave
]
async function onReceive(payload){
console.log("ON RECEIVE",payload)
// if tribe, owner must forward to MQTT
let doAction = true
const toAddIn:{[k:string]:any} = {}

1
dist/api/network/receive.js

@ -43,6 +43,7 @@ exports.typesToReplay = [
];
function onReceive(payload) {
return __awaiter(this, void 0, void 0, function* () {
console.log("ON RECEIVE", payload);
// if tribe, owner must forward to MQTT
let doAction = true;
const toAddIn = {};

2
dist/api/network/receive.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save