Skip to content

Commit

Permalink
Provide more information for outgoing integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimpson committed Feb 15, 2018
1 parent 3a7c668 commit 3baf73b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rocketchat-integrations/server/lib/triggerHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3baf73b

Please sign in to comment.