13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
var stoptime = lib.osclock.time(nil)
var posts = [lib.mem.vec(lib.mem.ptr(lib.store.post))] {
sz = 0, run = 0
}
if mode == modes.follow then
elseif mode == modes.srvlocal then
posts = co.srv:instance_timeline_fetch(lib.store.range {
mode = 1; -- T->I
from_time = stoptime;
to_idx = 64;
})
elseif mode == modes.fediglobal then
elseif mode == modes.circle then
end
|
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
var stoptime = lib.osclock.time(nil)
var posts = [lib.mem.vec(lib.mem.ptr(lib.store.post))] {
sz = 0, run = 0
}
if mode == modes.follow then
elseif mode == modes.srvlocal then
posts = co.srv:timeline_instance_fetch(lib.store.range {
mode = 1; -- T->I
from_time = stoptime;
to_idx = 64;
})
elseif mode == modes.fediglobal then
elseif mode == modes.circle then
end
|