]> git.mxchange.org Git - friendica.git/commitdiff
Notify about shared posts again
authorMichael <heluecht@pirati.ca>
Sun, 5 Jun 2022 16:26:20 +0000 (16:26 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Jun 2022 16:26:20 +0000 (16:26 +0000)
src/Navigation/Notifications/Repository/Notify.php

index 71d2eba0cf9dcd10b318c6dbf3742aa2fd5600d4..2e278713183a39172237131fa11dbcca973413ae 100644 (file)
@@ -663,7 +663,7 @@ class Notify extends BaseRepository
                        $type = \Friendica\Factory\Api\Mastodon\Notification::getType($Notification);
                }
 
-               if (in_array($Notification->type, [Model\Post\UserNotification::TYPE_FOLLOW])) {
+               if (in_array($Notification->type, [Model\Post\UserNotification::TYPE_FOLLOW, Model\Post\UserNotification::TYPE_SHARED])) {
                        return true;
                }