Update activitypub.extend.php

This commit is contained in:
Namhyeon Go 2022-09-28 17:51:45 +09:00 committed by GitHub
parent b53a512d3a
commit 95814b7b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -946,7 +946,7 @@ class _GNUBOARD_ActivityPub {
// 컨텐츠 변수 정의
$content = '';
// 컨텐츠 처리
if (!empty($data['type'])) {
// 정보 불러오기
@ -1202,7 +1202,15 @@ class _GNUBOARD_ActivityPub {
}
public static function shares() {
// TODO
$bo = get_board_db($_GET['bo_table'], true);
switch($bo['bo_table']) {
case ACTIVITYPUB_G5_BOARDNAME:
return self::inbox(); // 액티비티를 저장하는 테이블인 경우 inbox와 동일하게 취급
default:
return array(); // TODO
}
}
public static function close() {