mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
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:00
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
contact = [contacts lastObject];
|
||||
email = [contact valueForKey: @"c_email"];
|
||||
source = [contact objectForKey: @"source"];
|
||||
if ([email length])
|
||||
if ([email length] && [source MSExchangeHostname])
|
||||
{
|
||||
exchangeFreeBusy = [[MSExchangeFreeBusy alloc] init];
|
||||
[exchangeFreeBusy autorelease];
|
||||
|
||||
Reference in New Issue
Block a user