]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Ensure *toArray returns an array
[friendica.git] / mod / display.php
index 017b3545b6c9a3cddb032726cf5e3686a5316412..54d479259482556d01b81afb9c34a665cf97717a 100644 (file)
@@ -84,6 +84,10 @@ function display_init(App $a)
                displayShowFeed($item['id'], $a->argc > 3 && $a->argv[3] == 'conversation.atom');
        }
 
+       if ($a->argc >= 3 && $nick == 'feed-item') {
+               displayShowFeed($item['id'], $a->argc > 3 && $a->argv[3] == 'conversation.atom');
+       }
+
        if (!empty($_SERVER['HTTP_ACCEPT']) && strstr($_SERVER['HTTP_ACCEPT'], 'application/atom+xml')) {
                Logger::log('Directly serving XML for id '.$item["id"], Logger::DEBUG);
                displayShowFeed($item["id"], false);