ssb: Bring back the date. Whoops.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 29m37s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 29m37s
This commit is contained in:
@ -189,7 +189,7 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
UNION
|
||||
SELECT refs_in.message AS ref FROM messages_refs refs_in JOIN news ON refs_in.ref = news.id
|
||||
`,
|
||||
[JSON.stringify(result.map(x => x.id))]
|
||||
[JSON.stringify(result.map((x) => x.id))]
|
||||
);
|
||||
let t2 = new Date();
|
||||
let related_messages = await tfrpc.rpc.query(
|
||||
@ -199,7 +199,8 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
JOIN json_each(?2) refs ON messages.id = refs.value
|
||||
JOIN json_each(?1) AS following ON messages.author = following.value
|
||||
`,
|
||||
[JSON.stringify(this.following), JSON.stringify(refs.map(x => x.ref))]);
|
||||
[JSON.stringify(this.following), JSON.stringify(refs.map((x) => x.ref))]
|
||||
);
|
||||
result = [].concat(result, related_messages);
|
||||
let t3 = new Date();
|
||||
console.log(
|
||||
|
Reference in New Issue
Block a user