Skip to content

"Add to calendar" on a reply email removes the other attendees from the organizer's event #875

In review

Description

@sudoclem

Bug Report

Problematic behavior
When the organizer opens a reply email (someone accepted their invitation) and clicks "Add to calendar" on the calendar card, their event gets replaced by the event contained in the reply. A reply only lists the person who answered, so every other attendee is silently removed from the event.

Nothing warns you: the toast just says the event was added. From then on, the dropped attendees no longer get updates or cancellations, and the organizer won't notice unless they open the event.

Expected behavior/code
The person who answered shows up as accepted, and everyone else stays on the event with their own status.

Steps to Reproduce

  1. A creates an event in their mailbox calendar and invites B and C.
  2. B accepts from the invitation card in Messages.
  3. A opens the reply email ("Accepted: …"), keeps the event's calendar selected on the card and clicks "Add to calendar".
  4. A opens the event in Calendars: only B is left (ACCEPTED), C is gone.

Environment

  • Message version: 0.10.0, with Calendars 0.2.0
  • Platform: self-hosted, Chrome on Linux. Reproduced on two instances.

Possible Solution
It looks like the button writes the reply's VEVENT as is over the organizer's event, instead of only updating the replying attendee's PARTSTAT. I haven't traced it in the code, so take that as a guess. Two options:

Additional context/Screenshots
Organizers' events don't update on their own when someone answers (#753 is about that), so clicking "Add to calendar" on the reply feels like the natural way to record the answer. That's exactly how our users ran into it. #753 will make the button less tempting once it's merged and enabled, but the button would still be there and still overwrite the event.

Happy to test a fix on our side. Thanks!

Activity

  1. coderabbitai commented on Nov 23, 2026

    @coderabbitai
    🔗 Related PRs

    #753 - Apply inbound iTIP METHOD:REPLY to the organizer's calendar [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. self-assigned this
    on Nov 24, 2026
  3. jvelo commented on Nov 24, 2026

    @jvelo
    Contributor

    Thanks for the report @sudoclem.

    Your guess is right: the card only treats METHOD:CANCEL differently, so "Add to calendar" shows on a reply too, and add_event writes the reply's event over the organizer's one. #753 doesn't change this.

    A reply only holds the person who answered, so there's nothing to "add" from it. What makes sense is to record the answer in the event that's already there. That's what Gmail and Outlook do, automatically. Thunderbird or Roundcube offer a button that does update the participant's status "manually".

    I suggest we do as Gmail and Outlook:

    1. Hide "Add to calendar" on a reply and refuse replies in the add endpoint. See 🐛(calendar) do not add an attendee answer to a calendar #878.
    2. The answer gets recorded automatically by Apply inbound iTIP METHOD:REPLY to the organizer's calendar #753, once it's merged, for installs with iTIP replies enabled.

    METHOD:COUNTER (Gmail's "Propose a new time") has the same problem: it only holds the person who proposes, at the proposed time. #878 covers it too. Showing the proposal itself, like Outlook's "Accept proposed time", is a separate feature: #753 only handles replies.

  4. added 2 commits that reference this issue on Nov 24, 2026
    d8b3c9a
    8991529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions