allow app to be set as mailbox owner
This commit is contained in:
@@ -813,6 +813,11 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
|
||||
$scope.owners.push({ display: g.name, id: g.id, type: 'group' });
|
||||
});
|
||||
|
||||
$scope.owners.push({ header: true, display: $translate.instant('email.mailboxboxDialog.appsHeader') });
|
||||
Client.getInstalledApps().forEach(function (a) {
|
||||
if (a.manifest.addons && a.manifest.addons.recvmail) $scope.owners.push({ display: a.label || a.fqdn, id: a.id, type: 'app' });
|
||||
});
|
||||
|
||||
Client.getDomains(function (error, result) {
|
||||
if (error) return console.error('Unable to get view domain.', error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user