Table of Contents

Property LocalChange

Namespace
MailFathom.Domain.Mutations
Assembly
MailFathom.Domain.dll

LocalChange

Gets what this record was opened to do to MailFathom's own copy of the message.

public MailboxMutationLocalChange LocalChange { get; init; }

Property Value

MailboxMutationLocalChange

Remarks

An account holding its mailbox commits every act to stored state, and opens a record for one act only: a delete of a message already in its local trash, which is the erasure a person asked for twice. That record exists to hold the cascade for the window the person may withdraw it in, and nothing about it is ever issued to a server. An account restoring its mailbox commits the act and opens a record to carry it to the source, so its record is the opposite case — the local change has already happened and only the telling is outstanding.

It is written down rather than inferred from the account's phase, because the phase moves while the record waits. All three kinds are deletes against a trashed message once the account is held again — so a converger asking what the account is now cannot tell the erasure a person asked for from the delete the source has still to be told about, and erasing the second would destroy the local copy its own disposition asked to keep.