Originally created by: kristofferR
The Dock, tray and jump-list recent-conversations menus are built by scraping chat rows, and only trusted while the list is scrolled to the top (features/recent-threads.ts:37). Scrolling, filters or a not-yet-rendered list leave the menu stale.
Read the most recent threads from Messenger's database: ReQL.fromTableDescending(db.tables.threads.index("lastActivityTimestampMs")) (fMess: 16-read-ahead.js:39), skipping archived and message-request threads. Names and pictures come from the same tables. Keep the existing privacy behaviour (no stale names after logout or with Hide Names on).
Shares the database helper with the unread/mute issue.
Scroll the list down, switch to the Unread filter, then open the Dock/tray menu: it still shows the true most-recent conversations. Logout empties it.
Part of [#349].
Originally posted by: kristofferR
Landed in [#398]: the tray and Dock recent-conversations menus are built from Messenger's own database instead of the DOM, with a timeout fallback. Tested live on Linux.
It is on
mainand ships in the next release.Related
Tickets:
#398Ticket changed by: kristofferR