]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/ACL.php
Merge pull request #12153 from nupplaphil/feat/woodpecker
[friendica.git] / src / Core / ACL.php
index dc9b2a0f578744f860c7d93293baba508d32c30e..a2db32afc459c44cc21bcaa6315230d7411cccb6 100644 (file)
@@ -62,7 +62,7 @@ class ACL
                $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput.css'));
                $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput-typeahead.css'));
 
-               $contacts = self::getValidMessageRecipientsForUser(Session::getLocalUser());
+               $contacts = self::getValidMessageRecipientsForUser(DI::userSession()->getLocalUserId());
 
                $tpl = Renderer::getMarkupTemplate('acl/message_recipient.tpl');
                $o = Renderer::replaceMacros($tpl, [