arteman (arteman) wrote in changelog,
arteman
arteman
changelog

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

Committer: azateev
LJSV-2568: Implement SupportRequest event
U   branches/esn-support/cgi-bin/LJ/ESN.pm
Modified: branches/esn-support/cgi-bin/LJ/ESN.pm
===================================================================
--- branches/esn-support/cgi-bin/LJ/ESN.pm	2013-01-14 11:53:49 UTC (rev 23532)
+++ branches/esn-support/cgi-bin/LJ/ESN.pm	2013-01-14 13:19:02 UTC (rev 23533)
@@ -58,6 +58,20 @@
     }
     
     foreach my $s (@subs_filtered) {
+        # We are skipping uniqueness check for emails to non-registered users
+        if ($s->userid == 0) {
+            push @subjobs, TheSchwartz::Job->new(
+                funcname => 'LJ::Worker::ProcessSub',
+                priority => $evt->priority,
+                arg      => {
+                    'userid'    => $s->userid + 0,
+                    'subdump'   => $s->dump,
+                    'e_params'  => $params,
+                    %$debug_args,
+                },
+            );
+            next;
+        }
         next if $has_done{$s->unique}++;
         push @subjobs, TheSchwartz::Job->new(
             funcname => 'LJ::Worker::ProcessSub',

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