/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+ public function getObjectType()
+ {
+ return ActivityObject::GROUP;
+ }
+
+
public static function schemaDef()
{
return array(
#: ActivityPlugin.php:75
#, php-format
msgid "<a href=\"%1$s\">%2$s</a> started following <a href=\"%3$s\">%4$s</a>."
-msgstr "<a href=\"%1$s\">%2$s</a> började följa <a href=\"%3$s\">%4$s</a."
+msgstr "<a href=\"%1$s\">%2$s</a> började följa <a href=\"%3$s\">%4$s</a>."
#. TRANS: Text for "started following" item in activity plugin.
#. TRANS: %1$s is a profile name, %2$s is a profile URL,
assert($this->isMyActivity($act));
$stored->object_type = ActivityUtils::resolveUri($act->objects[0]->type);
+ if (common_valid_http_url($act->objects[0]->link)) {
+ $stored->url = $act->objects[0]->link;
+ }
// We don't have to do just about anything for a new, remote notice since the fields
// are handled in the main Notice::saveActivity function. Such as content, attachments,
$notice->profile_id = $profile->id;
$notice->uri = $statusUri;
$notice->url = $statusUri;
+ $notice->verb = ActivityVerb::POST;
$notice->created = strftime(
'%Y-%m-%d %H:%M:%S',
strtotime($status->created_at)