[NEW] Add tmid property to outgoing integration (#14699)

pull/14810/head
Marcos Spessatto Defendi 6 years ago committed by Diego Sampaio
parent 7354b27baf
commit 365543fc61
  1. 4
      app/integrations/server/lib/triggerHandler.js

@ -426,6 +426,10 @@ integrations.triggerHandler = new class RocketChatIntegrationHandler {
if (message.editedAt) {
data.isEdited = true;
}
if (message.tmid) {
data.tmid = message.tmid;
}
break;
case 'fileUploaded':
data.channel_id = room._id;

Loading…
Cancel
Save