mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
"getUserNickname" is now "getLoggedInUserNickname"
This commit is contained in:
parent
9cf43bb85b
commit
08c64387d7
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->getUserNickname();
|
||||
$logged_user_profile = DI::baseUrl()->get() . '/profile/' . $a->getLoggedInUserNickname();
|
||||
if ($logged_user_profile == $hook_data['item']['author-link']) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue