Remove "f=&" nonsense from network module

- Fixes wrong redirect when using the sidebar filters
This commit is contained in:
Hypolite Petovan 2019-05-27 17:19:38 -04:00
parent cd05d15b04
commit ed768c71ee
8 changed files with 28 additions and 30 deletions

View file

@ -1104,7 +1104,7 @@ class App
// Compatibility with the Android Diaspora client
if ($this->module == 'stream') {
$this->internalRedirect('network?f=&order=post');
$this->internalRedirect('network?order=post');
}
if ($this->module == 'conversations') {
@ -1112,15 +1112,15 @@ class App
}
if ($this->module == 'commented') {
$this->internalRedirect('network?f=&order=comment');
$this->internalRedirect('network?order=comment');
}
if ($this->module == 'liked') {
$this->internalRedirect('network?f=&order=comment');
$this->internalRedirect('network?order=comment');
}
if ($this->module == 'activity') {
$this->internalRedirect('network/?f=&conv=1');
$this->internalRedirect('network?conv=1');
}
if (($this->module == 'status_messages') && ($this->cmd == 'status_messages/new')) {