diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 3fab5bda..c87d958c 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -1066,6 +1066,10 @@ class MyForm(settingsmixin.SMainWindow): acct = accountClass(fromAddress) else: acct = accountClass(toAddress) + if acct is None: + acct = accountClass(fromAddress) + if acct is None: + acct = BMAccount(fromAddress) subject = shared.fixPotentiallyInvalidUTF8Data(subject) acct.parseMessage(toAddress, fromAddress, subject, "")