fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-02-10 07:45 am

[dw-free] OpenID users don't have the option to be notified when they're invited to a community

[commit: http://hg.dwscoalition.org/dw-free/rev/e600334fde45]

http://bugs.dwscoalition.org/show_bug.cgi?id=4332

Expose the option for openid users (but not automatically enabled)

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Event/CommunityInvite.pm
--------------------------------------------------------------------------------
diff -r dc47a29abc6e -r e600334fde45 cgi-bin/LJ/Event/CommunityInvite.pm
--- a/cgi-bin/LJ/Event/CommunityInvite.pm	Fri Feb 10 15:12:31 2012 +0800
+++ b/cgi-bin/LJ/Event/CommunityInvite.pm	Fri Feb 10 15:44:09 2012 +0800
@@ -153,7 +153,7 @@
 sub available_for_user {
     my ($class, $u, $subscr) = @_;
 
-    return $u->is_identity ? 0 : 1;
+    return 1;
 }
 
 package LJ::Error::Event::CommunityInvite;
--------------------------------------------------------------------------------