]> git.mxchange.org Git - friendica-addons.git/blobdiff - langfilter/langfilter.php
Merge pull request '[various] Adapt BaseURL calls for new UriInterface' (#1356) from...
[friendica-addons.git] / langfilter / langfilter.php
index 020a32df98e4c499f6b57af9807b994d3b5e2f96..61b357f6cfd36d117a66a2f227147c50b41f354f 100644 (file)
@@ -107,7 +107,7 @@ function langfilter_prepare_body_content_filter(&$hook_data)
 
        // Never filter own messages
        // TODO: find a better way to extract this
-       $logged_user_profile = DI::baseUrl()->get() . '/profile/' . DI::userSession()->getLocalUserNickname();
+       $logged_user_profile = DI::baseUrl() . '/profile/' . DI::userSession()->getLocalUserNickname();
        if ($logged_user_profile == $hook_data['item']['author-link']) {
                return;
        }