diff options
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 7 |
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) snac_log(snac, xs_fmt("new 'Question' %s %s", actor, id)); } else + if (strcmp(utype, "Video") == 0) { /** **/ + char *id = xs_dict_get(object, "id"); + + if (timeline_add(snac, id, object)) + snac_log(snac, xs_fmt("new 'Video' %s %s", actor, id)); + } + else snac_debug(snac, 1, xs_fmt("ignored 'Create' for object type '%s'", utype)); } else |