This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 923c66a7eb6266cbae0ae65cc04e641535c24035
Author: Sebb <s...@apache.org>
AuthorDate: Fri Jan 5 23:43:32 2024 +0000

    Docco
---
 www/secretary/workbench/models/mailbox.rb   | 2 +-
 www/secretary/workbench/views/index.json.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/models/mailbox.rb 
b/www/secretary/workbench/models/mailbox.rb
index 38efa33b..9a127486 100644
--- a/www/secretary/workbench/models/mailbox.rb
+++ b/www/secretary/workbench/models/mailbox.rb
@@ -165,7 +165,7 @@ class Mailbox
   end
 
   #
-  # return headers (client view)
+  # return headers (client view; only shows messages with attachments)
   #
   def client_headers
     # fetch a list of headers for all messages in the mailbox with attachments
diff --git a/www/secretary/workbench/views/index.json.rb 
b/www/secretary/workbench/views/index.json.rb
index 4902e9b6..ae458fc2 100644
--- a/www/secretary/workbench/views/index.json.rb
+++ b/www/secretary/workbench/views/index.json.rb
@@ -14,7 +14,7 @@ if index
     end
   end
 
-  # return previous mailbox name and headers for the messages in the mbox
+  # return previous mailbox name and headers for the messages (that have 
attachments) in the mbox
   {
     mbox: (File.basename(prevmbox, '.yml') if prevmbox),
     messages: Mailbox.new(@mbox).client_headers

Reply via email to