summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKamal Galrani <kamal1210@gmail.com>2017-02-24 19:54:58 +0530
committerKamal Galrani <kamal1210@gmail.com>2017-02-24 19:54:58 +0530
commit302329c7ae580b6769509695af4489a46addc10c (patch)
treef4cfc36ee4217d7e7a0f23726dee2bb9163cffce
parentdb5ae4ba9e65062b9ea3c267a8eb61efc7d890cb (diff)
downloadbitlbee-facebook-302329c7ae580b6769509695af4489a46addc10c.tar.gz
Fixed receiving attachments
-rw-r--r--facebook/facebook-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c
index 8c60dde..a94f9af 100644
--- a/facebook/facebook-api.c
+++ b/facebook/facebook-api.c
@@ -1390,7 +1390,7 @@ fb_api_message_parse_attach(FbApi *api, const gchar *mid, FbApiMessage *msg,
values = fb_json_values_new(root);
fb_json_values_add(values, FB_JSON_TYPE_STR, FALSE, "$.xmaGraphQL");
fb_json_values_add(values, FB_JSON_TYPE_INT, FALSE, "$.fbid");
- fb_json_values_set_array(values, FALSE, "$.deltaNewMessage.attachments");
+ fb_json_values_set_array(values, FALSE, "$.attachments");
while (fb_json_values_update(values, &err)) {
str = fb_json_values_next_str(values, NULL);