The object type "photo" is deprecated and was replaced by "image"

This commit is contained in:
Michael 2016-12-20 07:10:47 +00:00
commit 6e46987515
5 changed files with 6 additions and 6 deletions

View file

@ -2290,7 +2290,7 @@ class diaspora {
$body = "[img]".unxmlify($photo->remote_photo_path).
unxmlify($photo->remote_photo_name)."[/img]\n".$body;
$datarray["object-type"] = ACTIVITY_OBJ_PHOTO;
$datarray["object-type"] = ACTIVITY_OBJ_IMAGE;
} else {
$datarray["object-type"] = ACTIVITY_OBJ_NOTE;