improved handling of SOGoSubscriptionFolderFormat

This commit is contained in:
Ludovic Marcotte committed 2014-07-24 12:48:03 -04:00
1 parent 5de51e8aa1
commit f6ef94a631
8 files changed
+96 -51

No files matched your search

+2 -4
View File
@@ -1,8 +1,6 @@
/* UIxAclEditor.m - this file is part of SOGo
*
* Copyright (C) 2006-2010 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Copyright (C) 2006-2014 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -138,7 +136,7 @@
- (BOOL) canSubscribeUsers
{
return [[self clientObject]
respondsToSelector: @selector (subscribeUserOrGroup:reallyDo:)];
respondsToSelector: @selector (subscribeUserOrGroup:reallyDo:response:)];
}
- (BOOL) currentUserIsSubscribed
+6 -2
View File
@@ -89,7 +89,10 @@
}
else
{
[clientObject subscribeUserOrGroup: login reallyDo: reallyDo];
[clientObject subscribeUserOrGroup: login
reallyDo: reallyDo
response: response];
if (isMailInvitation)
{
mailInvitationURL
@@ -373,7 +376,8 @@
max = [userIDs count];
for (count = 0; count < max; count++)
[folder subscribeUserOrGroup: [userIDs objectAtIndex: count]
reallyDo: YES];
reallyDo: YES
response: response];
ex = nil;
}
else