docs: correct the composer's note on sending from a shared account

This commit is contained in:
Linus Rath
2026-10-31 04:07:49 +01:00
parent 10ad3a40c7
commit 357a03c062
+3 -2
View File
@@ -452,8 +452,9 @@ export default function ComposeScreen({ route, navigation }: Props) {
const prefillAttachments = route.params?.prefillAttachments;
const isReplyLike = !!replyTo && !draft;
const mailboxes = useEmailStore((s) => s.mailboxes);
// Always the user's own Sent — composing on behalf of a shared account
// isn't supported, so a group account's Sent must never be picked up here.
// The login's own Sent and Drafts. A From that belongs to a group or
// shared account is created, submitted and filed in that account instead
// (sendTargetFor, #1090); a group's folders must never be picked up here.
const sentMailbox = React.useMemo(
() => ownMailboxes(mailboxes).find((m) => m.role === 'sent'),
[mailboxes],