summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 9928c76..2306eb5 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1733,6 +1733,13 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
1733 snac_log(snac, xs_fmt("new 'Question' %s %s", actor, id)); 1733 snac_log(snac, xs_fmt("new 'Question' %s %s", actor, id));
1734 } 1734 }
1735 else 1735 else
1736 if (strcmp(utype, "Video") == 0) { /** **/
1737 char *id = xs_dict_get(object, "id");
1738
1739 if (timeline_add(snac, id, object))
1740 snac_log(snac, xs_fmt("new 'Video' %s %s", actor, id));
1741 }
1742 else
1736 snac_debug(snac, 1, xs_fmt("ignored 'Create' for object type '%s'", utype)); 1743 snac_debug(snac, 1, xs_fmt("ignored 'Create' for object type '%s'", utype));
1737 } 1744 }
1738 else 1745 else