Menu ▾ ▴

#413 feat: log out, and log out and reset Carrier

closed
nobody
None
7 days ago
7 days ago
Anonymous
No

Originally created by: kristofferR

There was no way to log out of Facebook in Carrier. Facebook's account menu is hidden, and Clear Cache and Restart is not a sign-out.

The app menu (File on Windows and Linux, the Carrier menu on macOS) and the tray menu now have Log Out and Log Out and Reset Carrier….

  • Log Out runs Facebook's own logout in the page: it posts the logout token from CometLogoutHandlerQuery to /logout.php, as Facebook's account menu does, so the session ends on Facebook's side. Success means the c_user cookie is gone. Carrier then shows the login page in every Messenger window and empties the recent-conversations menus.
  • Log Out and Reset Carrier… asks first, then logs out and restarts. The existing Clear Cache marker gains a reset kind: on the next start Carrier deletes the webview data store plus what it keeps for the account (notification ledger, macOS notification routes, scheduled messages). Before restarting it also removes this run's avatar files and the delivered macOS and Windows notifications. settings.json is kept. If Facebook can't be reached, it still resets and explains that the session may stay open.
  • On Windows and Linux the data clear now keeps the log folder, because the running log file lives there.

Live-tested on Linux with a test account in an isolated profile. Log Out ended the session, showed the login page, and Carrier stayed logged out after a restart. Log Out and Reset was run only from the logged-out state: the confirmation dialog appeared, settings.json stayed byte-identical, the cookies, notification ledger and scheduled messages were removed, and Carrier restarted cleanly. Not live-tested: Reset while logged in, and the macOS and Windows paths (cross-clippy is clean).

Ref [#356]

Related

Tickets: #356
Tickets: #418

Discussion

  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

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

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review Summary: ✅ Completed This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-08T03:06:03.488627Z">2026-11-08T03:06:03.488627Z</relative-time> | `73fb49c` | Manual request |
    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

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

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

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

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

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

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Hooray!

    Reviewed commit: 73fb49c5f7

    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
     
  • Anonymous

    Anonymous - 7 days ago

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.