Differences From
Artifact [57f4f6bb5e]:
24 24 if p.author == co.actorcache(j).ptr.id then author = co.actorcache(j).ptr end
25 25 if p.rtdby == co.actorcache(j).ptr.id then retweeter = co.actorcache(j).ptr end
26 26 if author ~= nil and (p.rtdby == 0 or retweeter ~= nil) then
27 27 goto foundauth
28 28 end
29 29 end
30 30 if author == nil then
31 - author = co.actorcache:insert(co.srv:actor_fetch_uid(p.author)).ptr
31 + author = co.actorcache:insert(co:uid2actor_live(p.author)).ptr
32 32 end
33 33 if p.rtdby ~= 0 and retweeter == nil then
34 - retweeter = co.actorcache:insert(co.srv:actor_fetch_uid(p.rtdby)).ptr
34 + retweeter = co.actorcache:insert(co:uid2actor_live(p.rtdby)).ptr
35 35 end
36 36
37 37 ::foundauth::
38 38 var timestr: int8[26] lib.osclock.ctime_r(&p.posted, ×tr[0])
39 39 for i=0,26 do if timestr[i] == @'\n' then timestr[i] = 0 break end end -- 🙄
40 40
41 41 var bhtml = lib.smackdown.html(&co.srv.pool, [lib.mem.ptr(int8)] {ptr=p.body,ct=0},false)