Update activitiypub.extend.php
This commit is contained in:
parent
c8257749c1
commit
e63e8c03fb
|
@ -185,7 +185,7 @@ class _GNUBOARD_ActivityPub {
|
||||||
// 멤버정보 처리
|
// 멤버정보 처리
|
||||||
$mb_id = activitypub_parse_url($data['actor'])['query']['mb_id'];
|
$mb_id = activitypub_parse_url($data['actor'])['query']['mb_id'];
|
||||||
if (empty($mb_id)) {
|
if (empty($mb_id)) {
|
||||||
return activitypub_json_encode(array("message" => "This is not a valid actor"));
|
$mb_id = ACTIVITYPUB_G5_USERNAME; // 그누보드에 호환되는 액터가 아니므로 기본 액터(mb_id=apstreams) 사용
|
||||||
}
|
}
|
||||||
$mb = get_member($mb_id);
|
$mb = get_member($mb_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user