From 3baf73b7c8f6c0a0faa8bc3e27f96d27c50c8254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20J=C3=A4gle?= Date: Thu, 15 Feb 2018 09:28:09 +0100 Subject: [PATCH] Provide more information for outgoing integrations --- packages/rocketchat-integrations/server/lib/triggerHandler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/rocketchat-integrations/server/lib/triggerHandler.js b/packages/rocketchat-integrations/server/lib/triggerHandler.js index f3457c3b1edc..0984351744bf 100644 --- a/packages/rocketchat-integrations/server/lib/triggerHandler.js +++ b/packages/rocketchat-integrations/server/lib/triggerHandler.js @@ -384,6 +384,8 @@ RocketChat.integrations.triggerHandler = new class RocketChatIntegrationHandler data.user_id = message.u._id; data.user_name = message.u.username; data.text = message.msg; + data.room = room; + data.siteUrl = RocketChat.settings.get('Site_Url'); if (message.alias) { data.alias = message.alias;