case CTSVC_PROPERTY_ACTIVITY_PHOTO_ACTIVITY_ID:
activity_photo->activity_id= ctsvc_stmt_get_int(stmt, i);
break;
- case CTSVC_PROPERTY_MESSENGER_LABEL:
+ case CTSVC_PROPERTY_ACTIVITY_PHOTO_URL:
temp = ctsvc_stmt_get_text(stmt, i);
activity_photo->photo_url = SAFE_STRDUP(temp);
break;
do {
if (CONTACTS_ERROR_NONE != (ret = ctsvc_db_create_set_query(record, &set, &bind_text))) break;
- if (CONTACTS_ERROR_NONE != (ret = ctsvc_db_update_record_with_set_query(set, bind_text, CTS_TABLE_DATA, activity_photo->id))) break;
+ if (CONTACTS_ERROR_NONE != (ret = ctsvc_db_update_record_with_set_query(set, bind_text, CTS_TABLE_ACTIVITY_PHOTOS, activity_photo->id))) break;
ctsvc_set_activity_noti();
ctsvc_set_activity_photo_noti();
} while (0);
snprintf(query, sizeof(query),
"SELECT my_profile_id, addressbook_id, changed_time, %s, image_thumbnail_path, uid "
- "FROM "CTS_TABLE_MY_PROFILES" WHERE my_profile_id = %d",
+ "FROM "CTS_TABLE_MY_PROFILES" WHERE my_profile_id = %d AND deleted = 0",
ctsvc_get_display_column(), id);
ret = ctsvc_query_prepare(query, &stmt);
Name: contacts-service
Summary: Contacts Service
-Version: 0.12.30
+Version: 0.12.31
Release: 1
Group: Social & Content/Pim
License: Apache-2.0