Fix crash when starting MessageCompose without an account UUID
@@ -281,7 +281,9 @@ public class MessageCompose extends K9Activity implements OnClickListener,
relatedMessageReference.getAccountUuid() :
intent.getStringExtra(EXTRA_ACCOUNT);
+ if (accountUuid != null) {
account = preferences.getAccount(accountUuid);
+ }
if (account == null) {
account = preferences.getDefaultAccount();
