diff --git a/classes/User_group.php b/classes/User_group.php index 01437ace39..344394a682 100644 --- a/classes/User_group.php +++ b/classes/User_group.php @@ -33,6 +33,12 @@ class User_group extends Managed_DataObject /* 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( diff --git a/plugins/TwitterBridge/lib/twitterimport.php b/plugins/TwitterBridge/lib/twitterimport.php index d929fecf83..9abc022fd8 100644 --- a/plugins/TwitterBridge/lib/twitterimport.php +++ b/plugins/TwitterBridge/lib/twitterimport.php @@ -138,6 +138,7 @@ class TwitterImport $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)