Return used space of quota as a number in JSON
This commit is contained in:
parent
db9e3a5401
commit
8d003a7c35
|
@ -300,7 +300,7 @@ static NSString *inboxFolderName = @"INBOX";
|
||||||
quota = quota * [(NSNumber*)[inboxQuota objectForKey: @"maxQuota"] intValue];
|
quota = quota * [(NSNumber*)[inboxQuota objectForKey: @"maxQuota"] intValue];
|
||||||
inboxQuota = [NSDictionary dictionaryWithObjectsAndKeys:
|
inboxQuota = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
[NSNumber numberWithLong: (long)(quota+0.5)], @"maxQuota",
|
[NSNumber numberWithLong: (long)(quota+0.5)], @"maxQuota",
|
||||||
[inboxQuota objectForKey: @"usedSpace"], @"usedSpace",
|
[NSNumber numberWithLong: [[inboxQuota objectForKey: @"usedSpace"] longLongValue]], @"usedSpace",
|
||||||
nil];
|
nil];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue