Permalink
Browse files

Merge pull request #165 from flowdock/master

Don't listen hubot's own messages with Flowdock adapter.
  • Loading branch information...
2 parents b973a90 + a8ce584 commit 584c456b0547ce847bb89e88231b0e923dd32d52 Tom Bell committed Nov 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/adapters/flowdock.coffee
View
1 src/adapters/flowdock.coffee
@@ -34,6 +34,7 @@ class Flowdock extends Robot
return unless message.event == 'message'
flow = bot.flows.filter((flow) -> return flow.name == message.flow)[0]
author = @userForId(message.user)
+ return if @name == author.name
author.flow = flow
self.receive new Robot.TextMessage(author, message.content)

0 comments on commit 584c456

Please sign in to comment.