aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'facebook/facebook-api.c')
-rw-r--r--facebook/facebook-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c
index 4344cf8..e7a8409 100644
--- a/facebook/facebook-api.c
+++ b/facebook/facebook-api.c
@@ -1297,9 +1297,9 @@ fb_api_xma_parse(FbApi *api, const gchar *body, JsonNode *root, GError **error)
url = fb_json_values_next_str(values, NULL);
if ((str == NULL) || (url == NULL)) {
- g_propagate_error(error, err);
+ text = g_strdup("<Unsupported Attachment>");
g_object_unref(values);
- return NULL;
+ return text;
}
if (g_strcmp0(str, "ExternalUrl") == 0) {