Skip to content

Commit

Permalink
Add 'tags' to message metadata if supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-fryslie committed Aug 7, 2017
1 parent 8a9046a commit 5b50068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.9.5
1 change: 1 addition & 0 deletions src/flowdock.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class Flowdock extends Adapter
room: message.flow
metadata['thread_id'] = thread_id if thread_id?
metadata['message_id'] = messageId if messageId?
metadata['tags'] = message.tags if message.tags?

messageObj = new TextMessage(author, hubotMsg, message.id, metadata)
# Support metadata even if hubot does not currently do that
Expand Down

0 comments on commit 5b50068

Please sign in to comment.