mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 05:48:50 +00:00
(feat) now possible to specify which domains you can forward your mails to
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* UIxPreferences.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2007-2018 Inverse inc.
|
||||
* Copyright (C) 2007-2019 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
|
||||
@@ -1495,6 +1495,18 @@ static NSArray *reminderValues = nil;
|
||||
return [NSString stringWithFormat: @"%d", [dd forwardConstraints]];
|
||||
}
|
||||
|
||||
- (NSString *) forwardConstraintsDomains
|
||||
{
|
||||
NSMutableArray *domains;
|
||||
SOGoDomainDefaults *dd;
|
||||
|
||||
dd = [[context activeUser] domainDefaults];
|
||||
domains = [NSMutableArray array];
|
||||
[domains addObjectsFromArray: [dd forwardConstraintsDomains]];
|
||||
|
||||
return [domains jsonRepresentation];
|
||||
}
|
||||
|
||||
//
|
||||
// Used by templates
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user