diff --git a/boot.php b/boot.php index 3fc6a389e..a21ddddcc 100755 --- a/boot.php +++ b/boot.php @@ -27,7 +27,7 @@ use Code\Lib\Url; */ const REPOSITORY_ID = 'streams'; -const DB_UPDATE_VERSION = 1282; +const DB_UPDATE_VERSION = 1283; const PROJECT_BASE = __DIR__; const ACTIVITYPUB_ENABLED = true; const NOMAD_PROTOCOL_VERSION = '13.3'; diff --git a/include/conversation.php b/include/conversation.php index d2dea19a2..706c9a0a7 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -928,7 +928,7 @@ function builtin_activity_puller($item, &$conv_responses) foreach ($conv_responses as $mode => $v) { - + if (!$item['author']['xchan_name']) { continue; } diff --git a/src/Lib/Channel.php b/src/Lib/Channel.php index 4fc418f55..8336c6f35 100644 --- a/src/Lib/Channel.php +++ b/src/Lib/Channel.php @@ -479,7 +479,7 @@ class Channel 'xchan_photo_m' => z_root() . "/photo/profile/m/{$newuid}", 'xchan_photo_s' => z_root() . "/photo/profile/s/{$newuid}", 'xchan_addr' => self::get_webfinger($ret['channel']), - 'xchan_url' => (($system) ? z_root() : Channel::url($ret['channel'])), + 'xchan_url' => (($system) ? z_root() : Channel::getDidResolver($ret['channel'],true)), 'xchan_follow' => z_root() . '/follow?f=&url=%s', 'xchan_connurl' => z_root() . '/poco/' . $ret['channel']['channel_address'], 'xchan_name' => $ret['channel']['channel_name'], diff --git a/src/Update/_1283.php b/src/Update/_1283.php new file mode 100644 index 000000000..318d35b8b --- /dev/null +++ b/src/Update/_1283.php @@ -0,0 +1,37 @@ +