Skip to content

Commit f60ce92

Browse files
author
RedEnchilada
committed
Actually make old timelines show for non-logged-in like they should
1 parent 4723319 commit f60ce92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actions/conversation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function showContent()
125125
{
126126
$user = common_current_user();
127127

128-
if (!empty($user) && $user->conversationTree()) {
128+
if (empty($user) || $user->conversationTree()) {
129129
$nl = new ConversationTree($this->notices, $this);
130130
} else {
131131
$nl = new FullThreadedNoticeList($this->notices, $this, $this->userProfile);

actions/public.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function prepare($args)
9292

9393
$user = common_current_user();
9494

95-
if (!empty($user) && $user->streamModeOnly()) {
95+
if (empty($user) || $user->streamModeOnly()) {
9696
$stream = new PublicNoticeStream($this->userProfile, $this->images);
9797
} else {
9898
$stream = new ThreadingPublicNoticeStream($this->userProfile, $this->images);

0 commit comments

Comments
 (0)