From 5d21f962db500a22697221d985709d5f24fa27f5 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 10 Nov 2019 22:51:10 -0500 Subject: Bug 342632 - Allow defaultAccount to return success with nullptr result when there is no usable account. Tag #1273 --- mailnews/base/public/nsIMsgAccountManager.idl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mailnews/base/public/nsIMsgAccountManager.idl') diff --git a/mailnews/base/public/nsIMsgAccountManager.idl b/mailnews/base/public/nsIMsgAccountManager.idl index d5a06d2c8..53ea2351e 100644 --- a/mailnews/base/public/nsIMsgAccountManager.idl +++ b/mailnews/base/public/nsIMsgAccountManager.idl @@ -71,9 +71,13 @@ interface nsIMsgAccountManager : nsISupports { /* account list stuff */ - /* defaultAccount should always be set if there are any accounts - * in the account manager. You can only set the defaultAccount to an - * account already in the account manager */ + /** + * Returns the account that was marked as the default one. + * Only some server types can serve as default account. + * If there is no such account, null is returned. + * You can only set the defaultAccount to an + * account already in the account manager. + */ attribute nsIMsgAccount defaultAccount; /** -- cgit v1.2.3