mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
(fix) find the proper container (fixes #4371)
This commit is contained in:
@@ -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