Skip to content

Commit 9fcd0af

Browse files
author
Vikas Agarwal
committed
Revert "Skip filtering bot notifications"
This reverts commit 126e30d.
1 parent ed655da commit 9fcd0af

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

connect/connectNotificationServer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,8 @@ const handler = (topic, message, logger, callback) => {
411411
// because they create too much clutter and duplicate info
412412
const botIds = [config.TCWEBSERVICE_ID, config.CODERBOT_USER_ID];
413413
if (topic === BUS_API_EVENT.CONNECT.TOPIC.CREATED && botIds.indexOf(message.userId.toString()) !== -1) {
414-
// logger.info(`Ignoring, to avoid noise, Bot topic ${topic}`);
415-
// return callback(null, []);
416-
logger.info(`Passing through the Bot topic ${topic} for receiving notifications`);
414+
logger.info(`Ignoring, to avoid noise, Bot topic ${topic}`);
415+
return callback(null, []);
417416
}
418417

419418
// get project details

0 commit comments

Comments
 (0)