Commit a4025690 authored by Zot's avatar Zot

pubcrawl: add Video to the set of message types we process

parent 400c23ea
......@@ -977,7 +977,7 @@ function as_actor_store($url,$person_obj) {
function as_create_action($channel,$observer_hash,$act) {
if(in_array($act->obj['type'], [ 'Note', 'Article' ])) {
if(in_array($act->obj['type'], [ 'Note', 'Article', 'Video' ])) {
as_create_note($channel,$observer_hash,$act);
}
......@@ -995,7 +995,7 @@ function as_announce_action($channel,$observer_hash,$act) {
function as_like_action($channel,$observer_hash,$act) {
if(in_array($act->obj['type'], [ 'Note', 'Article' ])) {
if(in_array($act->obj['type'], [ 'Note', 'Article', 'Video' ])) {
as_like_note($channel,$observer_hash,$act);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment