Browse files

Update the comment for fillIdentities.

  • Loading branch information...
1 parent 3266d71 commit d57e99cc2ac357b741f4f300d4d7354aa01985f5 @protz committed Dec 26, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 misc.js
View
5 misc.js
@@ -127,8 +127,9 @@ let gIdentities = {};
* This function you should call to populate the gIdentities global object. The
* recommended time to call this is after the mail-startup-done event, although
* doing this at overlay load-time seems to be fine as well.
- * Beware, although gIdentities has a "default" key, it is not guaranteed to be
- * non-null.
+ * There is a "default" key, that we guarantee to be non-null, by picking the
+ * first account's first valid identity if the default account doesn't have any
+ * valid identity associated.
* @param aSkipNntp (optional) Should we avoid including nntp identities in the
* list?
*/

0 comments on commit d57e99c

Please sign in to comment.