]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
New function "isAuthenticated"
[friendica.git] / mod / subthread.php
index 9fa1a410d37130eff5ad646e84f840c0c1011ba5..29d3f5e06eedda6f0cc34f863d78b743233ff171 100644 (file)
@@ -15,7 +15,7 @@ use Friendica\Util\XML;
 
 function subthread_content(App $a) {
 
-       if (!local_user() && !remote_user()) {
+       if (!Session::isAuthenticated()) {
                return;
        }