diff --git a/index.js b/index.js index 6701070..81bbceb 100644 --- a/index.js +++ b/index.js @@ -668,6 +668,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { pushState() return true } + if (t === 'set-threads-panel-sort') { + platform.setThreadsPanelSort(msg.panelSort || 'activity') + pushState() + return true + } if (t === 'archive-thread') { await platform.archiveThread(msg.threadId, msg.archived !== false) pushState()