From 1ffdb19c8ecac95d589ac736848cd2f56815ec4a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 16 Mar 2024 16:44:25 +0000 Subject: [PATCH] Fix accounttype/nosharer url --- src/Module/Conversation/Timeline.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Module/Conversation/Timeline.php b/src/Module/Conversation/Timeline.php index d77e78fc5b..88d2f83711 100644 --- a/src/Module/Conversation/Timeline.php +++ b/src/Module/Conversation/Timeline.php @@ -178,11 +178,11 @@ class Timeline extends BaseModule protected function getNoSharerWidget(string $base): string { $path = $this->selectedTab; - if (!empty($this->accountTypeString)) { - $path .= '/' . $this->accountTypeString; - } - $query_parameters = []; + $query_parameters = []; + if (!empty($this->accountTypeString)) { + $query_parameters['accounttype'] = $this->accountTypeString; + } if (!empty($this->minId)) { $query_parameters['min_id'] = $this->minId; }