Webmail: include all accounts metadata

pull/91/head
Francis Lachapelle 2014-11-23 01:20:27 -05:00
parent 3b4731d6b7
commit a64a8172be
1 changed files with 2 additions and 3 deletions

View File

@ -111,12 +111,11 @@
- (NSString *) mailAccounts
{
NSArray *accounts, *names;
NSArray *accounts;
accounts = [[self clientObject] mailAccounts];
names = [accounts objectsForKey: @"name" notFoundMarker: nil];
return [names jsonRepresentation];
return [accounts jsonRepresentation];
}
- (NSString *) userNames