Diffusion GpgOL 6f7b068a4aaa

Add warnings about unsupported G Sync actions

Authored by aheinecke on Nov 30 2017, 1:59 PM.

Description

Add warnings about unsupported G Sync actions

* src/mail.cpp (Mail::update_oom_data): Save if account
is gsync account.
(Mail::encrypt_sign): Warn / Block actions for GSync accounts.
* src/mimemaker.cpp (count_usable_attachments): Expose so that
it can be used in Mail.

It's better to fail early and loudly instead of creating
broken mails.

Details

Committed
aheineckeNov 30 2017, 1:59 PM
Parents
rO13b36b906fd5: Fix logic error in two options
Branches
Unknown
Tags
Unknown
Tasks
T3545: GpgOL: Support G Suite Sync Accounts