Skip to content

Commit 126e30d

Browse files
author
vikasrohit
authored
Skip filtering bot notifications
Passing through the Bot topic for receiving notifications. appirio-tech/connect-app#3405
1 parent 94f84ca commit 126e30d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

connect/connectNotificationServer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,9 @@ 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, []);
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`);
416417
}
417418

418419
// get project details

0 commit comments

Comments
 (0)