Skip to content
Commit 57ecb525 authored by Christian Schoenebeck's avatar Christian Schoenebeck
Browse files

Fix resend after import

After importing a message via 'File' -> 'Open...', sending that
message via 'Message' -> 'Send again...' was broken, as the latter
menu action would simply do nothing.

Fix this issue by not returning from slotResendMessage() if message
viewer's associated Akonadi::Item is not valid, which is always the
case on imported MIME message files.

Additionally check whether there is a payload instead of checking
for a valid item ID for deciding whether to gray out 'Send Again...'.
parent 77b558e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment