mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
Merge pull request #11326 from annando/notifications
Don't send notifications for activities caused by the community contact
This commit is contained in:
commit
5db3e02bbd
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ class UserNotification
|
||||||
$notification_type = $notification_type | self::TYPE_SHARED;
|
$notification_type = $notification_type | self::TYPE_SHARED;
|
||||||
self::insertNotificationByItem(self::TYPE_SHARED, $uid, $item);
|
self::insertNotificationByItem(self::TYPE_SHARED, $uid, $item);
|
||||||
$notified = true;
|
$notified = true;
|
||||||
|
} elseif ($author['contact-type'] == Contact::TYPE_COMMUNITY) {
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
$notified = false;
|
$notified = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue