| @@ -45,5 +45,17 @@ | ||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | return $attachment; |
| 48 | 48 | } |
| 49 | + | |
| 50 | + /** | |
| 51 | + * Returns the ActivityStreams 2.0 Object-Type for a Post based on the | |
| 52 | + * settings and the Post-Type. | |
| 53 | + * | |
| 54 | + * @see https://www.w3.org/TR/activitystreams-vocabulary/#activity-types | |
| 55 | + * | |
| 56 | + * @return string The Object-Type. | |
| 57 | + */ | |
| 58 | + protected function get_type() { | |
| 59 | + return 'Note'; | |
| 60 | + } | |
| 49 | 61 | } |