config: Don't fetch avatars by default

This commit is contained in:
Hylke Bons 2015-07-02 14:52:30 +01:00
parent 9dcad22f69
commit 5b8f2e7af2

View file

@ -141,7 +141,7 @@ namespace SparkleShare {
get { get {
string fetch_avatars_option = Config.GetConfigOption ("fetch_avatars"); string fetch_avatars_option = Config.GetConfigOption ("fetch_avatars");
if (fetch_avatars_option != null && fetch_avatars_option.Equals (bool.FalseString)) if (fetch_avatars_option == null || fetch_avatars_option.Equals (bool.FalseString))
return false; return false;
return true; return true;
@ -222,7 +222,7 @@ namespace SparkleShare {
if (FirstRun) { if (FirstRun) {
Config.SetConfigOption ("notifications", bool.TrueString); Config.SetConfigOption ("notifications", bool.TrueString);
} else { } else {
string keys_path = Path.GetDirectoryName (Config.FullPath); string keys_path = Path.GetDirectoryName (Config.FullPath);
string key_file_path = ""; string key_file_path = "";