mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
This commit is contained in:
@@ -2976,7 +2976,10 @@ class Activity {
|
||||
// This isn't perfect but the best we can do for now.
|
||||
$item['comment_policy'] = ((isset($act->data['commentPolicy'])) ? $act->data['commentPolicy'] : 'authenticated');
|
||||
|
||||
if (!empty($act->obj['context'])) {
|
||||
if (!empty($act->obj['contextHistory'])) {
|
||||
IConfig::Set($item, 'activitypub', 'context', $act->obj['contextHistory'], 1);
|
||||
}
|
||||
elseif (!empty($act->obj['context'])) {
|
||||
IConfig::Set($item, 'activitypub', 'context', $act->obj['context'], 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user