lib/lita/handlers/broadcast.rb in lita-broadcast-0.1.0 vs lib/lita/handlers/broadcast.rb in lita-broadcast-0.1.2

- old
+ new

@@ -24,9 +24,10 @@ private def channel_for(identifier) room = Lita::Room.fuzzy_find(identifier) + room = Lita::Room.find_by_name(identifier.to_s.sub(/^#+/, '')) if room.nil? && robot.config.robot.adapter == :slack Source.new(room: room) if room end Lita.register_handler(self) end