Skip to content

Commit e8b42e8

Browse files
committed
Add 'quote' to Jetpack comment types
The 'quote' comment type is now included alongside 'like' and 'repost' in the Jetpack integration. This expands supported ActivityPub comment types.
1 parent d4b193c commit e8b42e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration/class-jetpack.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ public static function add_sync_comment_meta( $allow_list ) {
7777
* @return array The comment types with ActivityPub types added.
7878
*/
7979
public static function add_comment_types( $comment_types ) {
80-
$comment_types[] = 'repost';
8180
$comment_types[] = 'like';
81+
$comment_types[] = 'quote';
82+
$comment_types[] = 'repost';
8283

8384
return array_unique( $comment_types );
8485
}

0 commit comments

Comments
 (0)