1
1
Fork 0

Merge pull request #3033 from annando/1612-object-type

The object type "photo" is deprecated and was replaced by "image"
This commit is contained in:
Tobias Diekershoff 2016-12-20 15:44:07 +01:00 committed by GitHub
commit cc16369b6f
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;