Allow disabling Gravatar

Resolves #3600
This commit is contained in:
Francis Lachapelle
2016-05-25 16:04:58 -04:00
parent 9fc22f2689
commit a9ee261eff
12 changed files with 100 additions and 35 deletions
+6 -1
View File
@@ -1,6 +1,6 @@
/* SOGoDomainDefaults.m - this file is part of SOGo
*
* Copyright (C) 2009-2015 Inverse inc.
* Copyright (C) 2009-2016 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
@@ -191,6 +191,11 @@
return [self boolForKey: @"SOGoForceIMAPLoginWithEmail"];
}
- (BOOL) externalAvatarsEnabled
{
return [self boolForKey: @"SOGoExternalAvatarsEnabled"];
}
- (BOOL) sieveScriptsEnabled
{
return [self boolForKey: @"SOGoSieveScriptsEnabled"];