Skip to content
Browse files

Forgot to implement offline message saving

  • Loading branch information...
1 parent 3c9d27a commit 35e979f447210473d7c19f43df1332077ca0f734 @meh committed May 10, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/torchat.rb
View
4 lib/torchat.rb
@@ -163,7 +163,9 @@ def stop
next if buddy.messages.empty?
File.open("#@offline_messages/#{id}_offline.txt") {|f|
-
+ buddy.messages.each {|message|
+ f.write "[delayed] #{message}\n"
+ }
}
}
end

0 comments on commit 35e979f

Please sign in to comment.
Something went wrong with that request. Please try again.