madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r12869: LJSUP-14189: Hashtags for livejournal [i...

Committer: sbelyaev
LJSUP-14189: Hashtags for livejournal [internal]
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2012-11-07 10:57:55 UTC (rev 12868)
+++ trunk/cgi-bin/ljcom.pl	2012-11-07 11:28:13 UTC (rev 12869)
@@ -1090,6 +1090,15 @@
         }
     }
 
+    if ( LJ::is_enabled('hashtags') && $security eq "public" && !$arg->{'entryrepost'}) {
+        push @$joblist, TheSchwartz::Job->new_from_array("LJ::Worker::TagStream", {
+            'timepost'  => time(),
+            'journalid' => $uo->{'userid'},
+            'itemid'    => $arg->{'itemid'},
+            'security'  => $security,
+        });
+    }
+
     # if this post if by a livejournal official community fire the event
     # official letters are very hard, so go to other TheSchwartz
     # this reason we will not put them on list of jobs (for standard TheSchwartz), but fire directly

Tags: ljcom, madeon, pl, sbelyaev
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