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",
|
||||
"emoji": "🐌",
|
||||
"previous": "&/JTE4AwvZ1kkbPJne84iMDwbvxsJHJxvX8n+GSlqRPc=.sha256"
|
||||
"previous": "&UuIvaWISWWRqgpN5ccS32C71334ofLV+qMcaDDqUn28=.sha256"
|
||||
}
|
||||
|
@ -77,6 +77,9 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
FROM mine
|
||||
JOIN messages_refs ON mine.id = messages_refs.ref
|
||||
JOIN messages ON messages_refs.message = messages.id
|
||||
WHERE
|
||||
mine.timestamp >= ?2 AND
|
||||
mine.timestamp < ?3
|
||||
UNION
|
||||
SELECT * FROM mine
|
||||
WHERE
|
||||
@ -345,10 +348,7 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
this.load_messages();
|
||||
}
|
||||
let more;
|
||||
if (
|
||||
this.hash == '#@' ||
|
||||
(!this.hash.startsWith('#@') && !this.hash.startsWith('#%'))
|
||||
) {
|
||||
if (!this.hash.startsWith('#%')) {
|
||||
more = html`
|
||||
<p>
|
||||
<button class="w3-button w3-theme-d1" @click=${this.mark_all_read}>
|
||||
|
Loading…
Reference in New Issue
Block a user