Sanity check to not fetch freebusy info from Exchange if no hostname is defined
Monotone-Parent: 15c306f9d11152fee321b11e184bc75e9e2be6f8 Monotone-Revision: 78e0e48d54b37e3da54b0ecca3eb1ed2dd1b41f7 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-01-27T20:37:00maint-2.0.2
parent
87e3db5391
commit
9da91b055f
|
@ -294,7 +294,7 @@
|
||||||
contact = [contacts lastObject];
|
contact = [contacts lastObject];
|
||||||
email = [contact valueForKey: @"c_email"];
|
email = [contact valueForKey: @"c_email"];
|
||||||
source = [contact objectForKey: @"source"];
|
source = [contact objectForKey: @"source"];
|
||||||
if ([email length])
|
if ([email length] && [source MSExchangeHostname])
|
||||||
{
|
{
|
||||||
exchangeFreeBusy = [[MSExchangeFreeBusy alloc] init];
|
exchangeFreeBusy = [[MSExchangeFreeBusy alloc] init];
|
||||||
[exchangeFreeBusy autorelease];
|
[exchangeFreeBusy autorelease];
|
||||||
|
|
Loading…
Reference in New Issue