From 28197628b6876f639d9aceebfd7f37e0763e51ba Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 24 Apr 2008 01:09:08 +0000 Subject: [PATCH] Monotone-Parent: cda3bd58c324868ead052e625bbdbcb210c60af5 Monotone-Revision: 86a3016fde1fa4a741b945ef29cc0453ddcb73c7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-24T01:09:08 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/SOGoUser.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 14180fa58..2af8037dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-04-23 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoUser.m ([SOGoUser + -initWithLogin:newLoginroles:newRoles]): we make sure realUID is + not an empty string. + * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder -davResourceType]): we declare self as a "principal". diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index db9b6dcbe..1932e9f03 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -194,7 +194,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek"; objectForKey: @"c_uid"]; } - if (realUID) + if ([realUID length]) self = [super initWithLogin: realUID roles: newRoles]; else {