mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-15 04:56:40 +00:00
(fix) find the proper container (fixes #4371)
This commit is contained in:
1 parent
8d0f419acf
commit
5767419554
1 file changed
+10
-1
@@ -292,7 +292,16 @@ static BOOL debugOn = NO;
|
||||
|
||||
- (NSData *) fetchBLOB
|
||||
{
|
||||
if ([[self container] isEncrypted])
|
||||
id o;
|
||||
|
||||
// We check if the associated SOGoMailObject is encrypted, we must navigate
|
||||
// in the container list until we find the proper container.
|
||||
o = [self container];
|
||||
|
||||
while (![o isKindOfClass: [SOGoMailObject class]])
|
||||
o = [o container];
|
||||
|
||||
if ([o isEncrypted])
|
||||
{
|
||||
NSData *certificate;
|
||||
|
||||
|
||||
Reference in new issue
Block a user