ssb: We can load more messages by author, now.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m44s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m44s
This commit is contained in:
parent
1dbf162a71
commit
88da071ed6
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🐌",
|
"emoji": "🐌",
|
||||||
"previous": "&/JTE4AwvZ1kkbPJne84iMDwbvxsJHJxvX8n+GSlqRPc=.sha256"
|
"previous": "&UuIvaWISWWRqgpN5ccS32C71334ofLV+qMcaDDqUn28=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -77,6 +77,9 @@ class TfTabNewsFeedElement extends LitElement {
|
|||||||
FROM mine
|
FROM mine
|
||||||
JOIN messages_refs ON mine.id = messages_refs.ref
|
JOIN messages_refs ON mine.id = messages_refs.ref
|
||||||
JOIN messages ON messages_refs.message = messages.id
|
JOIN messages ON messages_refs.message = messages.id
|
||||||
|
WHERE
|
||||||
|
mine.timestamp >= ?2 AND
|
||||||
|
mine.timestamp < ?3
|
||||||
UNION
|
UNION
|
||||||
SELECT * FROM mine
|
SELECT * FROM mine
|
||||||
WHERE
|
WHERE
|
||||||
@ -345,10 +348,7 @@ class TfTabNewsFeedElement extends LitElement {
|
|||||||
this.load_messages();
|
this.load_messages();
|
||||||
}
|
}
|
||||||
let more;
|
let more;
|
||||||
if (
|
if (!this.hash.startsWith('#%')) {
|
||||||
this.hash == '#@' ||
|
|
||||||
(!this.hash.startsWith('#@') && !this.hash.startsWith('#%'))
|
|
||||||
) {
|
|
||||||
more = html`
|
more = html`
|
||||||
<p>
|
<p>
|
||||||
<button class="w3-button w3-theme-d1" @click=${this.mark_all_read}>
|
<button class="w3-button w3-theme-d1" @click=${this.mark_all_read}>
|
||||||
|
Loading…
Reference in New Issue
Block a user