summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker.js b/worker.js
index 308bcc7..971e24b 100644
--- a/worker.js
+++ b/worker.js
@@ -796,6 +796,8 @@ function flatten(obj) {
m.properties.headers.notify + "." + mat.api_id,
new Buffer("match_update"))
);
+ await ch.publish("amq.topic", m.properties.headers.notify,
+ new Buffer("match_update"));
}
// player obj updated
if (m.properties.type == "player") notif = "stats_update";