From 86e7ba6711535181ca6b7602c9ddbb2b6d0d9dd7 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 14 Jun 2017 13:16:36 +0200 Subject: send match_update to player.name --- worker.js | 2 ++ 1 file changed, 2 insertions(+) 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"; -- cgit v1.3.1