mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
- New name better reflect the behavior
This commit is contained in:
parent
891f686dcf
commit
fa123bd765
3 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ class Subscription
|
|||
{
|
||||
$type = NotificationFactory::getType($notification);
|
||||
|
||||
if (DI::notify()->NotifyOnDesktop($notification, $type)) {
|
||||
if (DI::notify()->shouldShowOnDesktop($notification, $type)) {
|
||||
DI::notify()->createFromNotification($notification);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue