arteman (arteman) wrote in changelog,
arteman
arteman
changelog

[livejournal] r23536: LJSV-2568: Implement SupportRequest even...

Committer: azateev
LJSV-2568: Implement SupportRequest event
U   branches/esn-support/cgi-bin/LJ/Subscription.pm
Modified: branches/esn-support/cgi-bin/LJ/Subscription.pm
===================================================================
--- branches/esn-support/cgi-bin/LJ/Subscription.pm	2013-01-14 14:19:09 UTC (rev 23535)
+++ branches/esn-support/cgi-bin/LJ/Subscription.pm	2013-01-14 14:29:55 UTC (rev 23536)
@@ -604,6 +604,10 @@
 
     return 1 if $self->etypeid == LJ::Event::OfficialPost->etypeid && $LJ::DISABLED{"officialpost_esn"};
 
+    # process events for unauthorised users;
+    return 1 if LJ::Event->class($self->etypeid) eq 'LJ::Event::SupportRequest' && 
+                !$self->{userid};
+    
     # significant events (such as SecurityAttributeChanged) must be processed even for inactive users.
     return 1
         unless $self->notify_class->configured_for_user($self->owner)

Tags: arteman, azateev, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments