X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=2f23ea791a6e525009f5109652c911742c18096c;hb=1017e244cae7cb1cfce46fe0d4fdc43fb117885e;hp=e3ab16469b17f75d07a6e522b7206a18efec9229;hpb=9665f4ed415d34cbcf09df8c6ca04882303e9544;p=friendica.git diff --git a/index.php b/index.php index e3ab16469b..2f23ea791a 100644 --- a/index.php +++ b/index.php @@ -228,8 +228,36 @@ if (strlen($a->module)) { */ // Compatibility with the Android Diaspora client - if ($a->module == "stream") { - $a->module = "network"; + if ($a->module == 'stream') { + goaway('network?f=&order=post'); + } + + if ($a->module == 'conversations') { + goaway('message'); + } + + if ($a->module == 'commented') { + goaway('network?f=&order=comment'); + } + + if ($a->module == 'liked') { + goaway('network?f=&order=comment'); + } + + if ($a->module == 'activity') { + goaway('network/?f=&conv=1'); + } + + if (($a->module == 'status_messages') && ($a->cmd == 'status_messages/new')) { + goaway('bookmarklet'); + } + + if (($a->module == 'user') && ($a->cmd == 'user/edit')) { + goaway('settings'); + } + + if (($a->module == 'tag_followings') && ($a->cmd == 'tag_followings/manage')) { + goaway('search'); } // Compatibility with the Firefox App