mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Changed function name
This commit is contained in:
parent
9ad7500146
commit
9cf43bb85b
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue