Re-work thread sorting and loading, fix some display bugs with reaction tooltips, fix thunk status loading indicator

This commit is contained in:
Jon Staab
2024-11-21 11:01:34 -08:00
parent 659403c308
commit 86d082b1ab
9 changed files with 74 additions and 75 deletions
+3 -3
View File
@@ -193,10 +193,10 @@
}
// Listen for space data, populate space-based notifications
let unsubRooms: any
let unsubSpaces: any
userMembership.subscribe($membership => {
unsubRooms?.()
unsubSpaces?.()
const since = ago(30)
const rooms = uniq(getMembershipRooms($membership).map(m => m.room)).concat(GENERAL)
@@ -213,7 +213,7 @@
})
// Listen for new notifications/memberships
unsubRooms = subscribePersistent({
unsubSpaces = subscribePersistent({
relays,
filters: [
{kinds: [THREAD], since},