mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 15:55:13 +00:00
return short actor id when not nomadic
This commit is contained in:
parent
e98797fe2d
commit
dded3cdbb2
1 changed files with 3 additions and 3 deletions
|
@ -1663,13 +1663,13 @@ class Activity
|
|||
$channel = ((array_key_exists('channel_id', $p)) ? $p : Channel::from_hash($p['xchan_hash']));
|
||||
|
||||
if ($channel) {
|
||||
if (!$extended) {
|
||||
return Channel::getDidResolver($channel, true);
|
||||
}
|
||||
$nomadic = (int)PConfig::Get($channel['channel_id'], 'system', 'nomadicAP');
|
||||
if ($legacy) {
|
||||
$nomadic = false;
|
||||
}
|
||||
if ($nomadic && !$extended) {
|
||||
return Channel::getDidResolver($channel, true);
|
||||
}
|
||||
if ($export) {
|
||||
$nomadic = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue