Changed function name

This commit is contained in:
Michael 2021-08-09 15:29:26 +00:00
parent 9ad7500146
commit 9cf43bb85b
4 changed files with 4 additions and 4 deletions

View file

@ -105,7 +105,7 @@ function langfilter_prepare_body_content_filter(App $a, &$hook_data)
// Never filter own messages
// TODO: find a better way to extract this
$logged_user_profile = DI::baseUrl()->get() . '/profile/' . $a->getNickname();
$logged_user_profile = DI::baseUrl()->get() . '/profile/' . $a->getUserNickname();
if ($logged_user_profile == $hook_data['item']['author-link']) {
return;
}