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


The following commit(s) were added to refs/heads/master by this push:
     new df5f39a  Oops, forgot this method
df5f39a is described below

commit df5f39a78f6ba08e8f7e63e489460fdd6bcdba3f
Author: Sebb <s...@apache.org>
AuthorDate: Tue Mar 22 10:43:15 2022 +0000

    Oops, forgot this method
---
 lib/whimsy/asf/mail.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index 209eb3d..5be2a40 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -76,8 +76,7 @@ module ASF
     # Params: listid (a@b)
     # Return: true or false
     def self.unsubbable?(listid)
-      # cannot_unsub currently defined in listkey format
-      !self._cannot_unsub.include? listdom2listkey(listid)
+      !self._cannot_unsub.include? listid
     end
 
     # which lists are available for subscription via Whimsy?

Reply via email to