mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
improved handling of SOGoSubscriptionFolderFormat
This commit is contained in:
1 parent
5de51e8aa1
commit
f6ef94a631
8 files changed
+96
-51
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user