From dded3cdbb2ef1e75f4e5d9efa281af3175bb3384 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 7 Jul 2024 09:03:08 +1000 Subject: [PATCH] return short actor id when not nomadic --- src/Lib/Activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Lib/Activity.php b/src/Lib/Activity.php index 0b058b909..3c3dbc340 100644 --- a/src/Lib/Activity.php +++ b/src/Lib/Activity.php @@ -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; }