Skip to content

Commit

Permalink
Merge pull request RocketChat#233 from assistify/integrations-room-me…
Browse files Browse the repository at this point in the history
…ssage-sent

Provide more information for outgoing integrations
  • Loading branch information
mrsimpson committed Feb 15, 2018
2 parents 0b78dc5 + 3baf73b commit e477509
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 e477509

Please sign in to comment.