Don't fire off a notification about new mail before we finish
initializing an account.
This commit is contained in:
parent
b3ac8fa252
commit
c541a07ed2
1 changed files with 1 additions and 1 deletions
|
@ -4541,7 +4541,7 @@ public class MessagingController implements Runnable
|
|||
{
|
||||
// Do not notify if the user does not have notifications
|
||||
// enabled or if the message has been read
|
||||
if (!account.isNotifyNewMail() || message.isSet(Flag.SEEN))
|
||||
if (!account.isNotifyNewMail() || message.isSet(Flag.SEEN) || ( account.getName() == null) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue