Allow friends import to work if you friend yourself.

        Patch by exor674. 

diffs (12 lines):

diff -r c826ba932c4e -r 4e386904e1d0 
cgi-bin/DW/Worker/ContentImporter/LiveJournal/Friends.pm
--- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Friends.pm  Thu May 07 
06:59:14 2009 +0000
+++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Friends.pm  Thu May 07 
07:03:36 2009 +0000
@@ -69,7 +69,7 @@ sub try_work {
         push @friends, {
             userid => $local_oid,
             groupmask => $class->remap_groupmask( $data, $friend->{groupmask} 
),
-        } if $local_oid;
+        } if $local_oid && $local_oid != $data->{userid};
 
 # We aren't doing feeds right now / maybe not ever, when we solve the
 # authenticated feed reading problem.  (which we're on track for)
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to