Skip to content

Commit

Permalink
Log plaintext messages for uploads again.
Browse files Browse the repository at this point in the history
  • Loading branch information
precipice committed Jun 17, 2011
1 parent 36499fb commit 83b930d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions campfire_export.rb
Expand Up @@ -159,10 +159,10 @@ def directory_for(room, date)
messages.each do |message|
if message.css('type').text == "UploadMessage"
export_upload(message, export_dir)
else
message_text = message_to_string(message)
plaintext << message_text << "\n" if message_text.length > 0
end

message_text = message_to_string(message)
plaintext << message_text << "\n" if message_text.length > 0
end

# FIXME: These should all be command-line options.
Expand Down

0 comments on commit 83b930d

Please sign in to comment.