lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.4.2 vs lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.4.3

- old
+ new

@@ -9,10 +9,10 @@ attr_accessor :user_id attr_accessor :team attr_accessor :team_id def names - [user, aliases].compact.flatten + [user, aliases, "<@#{user_id.downcase}>", "<@#{user_id.downcase}>:"].compact.flatten end def name?(name) name && names.include?(name.downcase) end