parsav  Diff

Differences From Artifact [91a054f52e]:

To Artifact [dac341c838]:


    52     52   			end
    53     53   		end
    54     54   	end
    55     55   	acc:lpush('</em></div>')
    56     56   	acc:lpush('<div id="tl" data-live="10">')
    57     57   	var newest: lib.store.timepoint = 0
    58     58   	for i = 0, posts.sz do
           59  +		var author = co:uid2actor(posts(i).ptr.author)
    59     60   		if mode == modes.mutual and posts(i).ptr.author ~= co.who.id then
    60         -			var author = co:uid2actor(posts(i).ptr.author)
    61     61   			if not author.relationship.recip.follow() then goto skip end
    62     62   		end
           63  +		if author.relationship.rel.mute() or 
           64  +		   author.relationship.rel.avoid() or 
           65  +		   author.relationship.recip.exclude() then goto skip end
    63     66   		lib.render.tweet(co, posts(i).ptr, &acc)
    64     67   		var t = lib.math.biggest(lib.math.biggest(posts(i).ptr.posted, posts(i).ptr.discovered),posts(i).ptr.edited)
    65     68   		if t > newest then newest = t end
    66     69   		::skip:: posts(i):free()
    67     70   	end
    68     71   	if posts.run > 0 then posts:free() end
    69     72   	acc:lpush('</div>')