Permalink
Browse files

Merge pull request #10 from juno/fix-tweet-message

Skip <message> elements within <tweet> elements.
  • Loading branch information...
2 parents b641a06 + de88736 commit 1946a362a43eeb339ac465519efa66cdff037243 @precipice committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/campfire_export.rb
View
2 lib/campfire_export.rb
@@ -217,7 +217,7 @@ def export
rescue Exception => e
log(:error, "transcript export for #{export_dir} failed", e)
else
- @messages = xml.css('message').map do |message|
+ @messages = xml.css('messages > message').map do |message|
CampfireExport::Message.new(message, room, date)
end

0 comments on commit 1946a36

Please sign in to comment.