]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
save the object type when saving a new bookmark notice
authorEvan Prodromou <evan@status.net>
Mon, 7 Mar 2011 19:25:05 +0000 (14:25 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 7 Mar 2011 19:25:05 +0000 (14:25 -0500)
plugins/Bookmark/Bookmark.php

index 777b50f7243d74f7244f84640cf163d902045b57..04cd8dbfa866ea1fa6056176084b4f82afba6fd4 100644 (file)
@@ -307,7 +307,8 @@ class Bookmark extends Memcached_DataObject
         $options = array_merge(array('urls' => array($url),
                                      'rendered' => $rendered,
                                      'tags' => $tags,
-                                     'replies' => $replies),
+                                     'replies' => $replies,
+                                     'object_type' => ActivityObject::BOOKMARK),
                                $options);
 
         if (!array_key_exists('uri', $options)) {