From 1b37486ea7f7b8536450f4171d6389a064dc7750 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 21 Aug 2017 19:51:08 +0200 Subject: remove unused player.$name.$m_id notification --- worker.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'worker.js') diff --git a/worker.js b/worker.js index 4bf1cdc..cb7693d 100644 --- a/worker.js +++ b/worker.js @@ -264,12 +264,6 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { switch (m.properties.type) { // new match case "match": - // notify player.name.api_id about match_update - await Promise.map(match_objects, async (mat) => - await ch.publish("amq.topic", - m.properties.headers.notify + "." + mat.id, - new Buffer("match_update")) - ); await ch.publish("amq.topic", m.properties.headers.notify, new Buffer("match_update")); break; -- cgit v1.3.1