[gnome-online-miners] facebook: Don't use the time as a fallback for the title



commit 17fe658af3d0c0886c15e5f168f57ddd0cbe75bb
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Nov 28 18:10:22 2014 +0100

    facebook: Don't use the time as a fallback for the title
    
    Force a full reindex of Facebook resources for existing users.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740869

 src/gom-facebook-miner.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gom-facebook-miner.c b/src/gom-facebook-miner.c
index 8ffbb2b..948165c 100644
--- a/src/gom-facebook-miner.c
+++ b/src/gom-facebook-miner.c
@@ -56,8 +56,6 @@ account_miner_job_process_photo (GomAccountMinerJob *job,
   photo_link = gfbgraph_node_get_link (GFBGRAPH_NODE (photo));
   photo_created_time = gfbgraph_node_get_created_time (GFBGRAPH_NODE (photo));
   photo_name = gfbgraph_photo_get_name (photo);
-  if (photo_name == NULL)
-    photo_name = photo_created_time;
 
   identifier = g_strdup_printf ("facebook:%s", photo_id);
 
@@ -416,7 +414,7 @@ gom_facebook_miner_class_init (GomFacebookMinerClass *klass)
 
   miner_class->goa_provider_type = "facebook";
   miner_class->miner_identifier = MINER_IDENTIFIER;
-  miner_class->version = 1;
+  miner_class->version = 2;
 
   miner_class->create_services = create_services;
   miner_class->query = query_facebook;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]