X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fconversation.php;h=b25fae4f71683b47317bba6bde90583a5124c613;hb=725296a6f2189a5470eaab8bcdcc2645545de261;hp=ed9086307b4b4cb9f604f8452e17a55e070f1189;hpb=c6b45a958e3b09bc8f3950a718c181dfc9e0b910;p=friendica.git diff --git a/include/conversation.php b/include/conversation.php index ed9086307b..b25fae4f71 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -764,11 +764,13 @@ function conversation_fetch_comments($thread_items, $pinned) { case Item::PT_GLOBAL: $row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')]; break; - default: - if ($row['uid'] == 0) { - $row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')]; - } - } + case Item::PT_RELAY: + $row['direction'] = ['direction' => 10, 'title' => DI::l10n()->t('Relay')]; + break; + case Item::PT_FETCHED: + $row['direction'] = ['direction' => 2, 'title' => DI::l10n()->t('Fetched')]; + break; + } if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id']) && !Contact::isSharing($row['author-id'], $row['uid'])) {