Menu ▾ ▴

#362 Build the recent-conversations menus from Messenger's database

closed
nobody
2026-11-07
2026-11-07
Anonymous
No

Originally created by: kristofferR

Problem

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.

Design

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.

Testing

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].

Related

Tickets: #349
Tickets: #398

Discussion

  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    🤖 Claude Opus 5.5 responding on behalf of Kristoffer

    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 main and ships in the next release.

     

    Related

    Tickets: #398

  • Anonymous

    Anonymous - 2026-11-07

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.