diff --git a/include/conversation.php b/include/conversation.php index d6b6bd8ee..97630a65f 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -578,11 +578,11 @@ function conversation(App $a, $items, $mode, $update, $preview = false) { $items = community_add_items($items); } $profile_owner = 0; -// Currently deactivated. Will be activated when we can comment on the community page -// if (!$update) { -// $live_update_div = '
' . "\r\n" -// . "\r\n"; -// } + if (!$update) { + $live_update_div = '' . "\r\n" + . "\r\n"; + } } elseif ($mode === 'search') { $live_update_div = '' . "\r\n"; } diff --git a/mod/community.php b/mod/community.php index 00c4ada4e..a75a3cf7d 100644 --- a/mod/community.php +++ b/mod/community.php @@ -139,7 +139,9 @@ function community_content(App $a, $update = 0) { $o .= conversation($a, $s, 'community', $update); - $o .= alt_pager($a, count($r)); + if (!$update) { + $o .= alt_pager($a, count($r)); + } $t = get_markup_template("community.tpl"); return replace_macros($t, array( diff --git a/mod/update_community.php b/mod/update_community.php index c0e4c3323..1e9005326 100644 --- a/mod/update_community.php +++ b/mod/update_community.php @@ -8,12 +8,12 @@ use Friendica\Core\PConfig; require_once("mod/community.php"); function update_community_content(App $a) { - header("Content-type: text/html"); echo "\r\n"; echo "