|
@@ 146-149 (lines=4) @@
|
| 143 |
|
$this->activityManager->publish($event); |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
if (!empty($publicity['notifications']) && $authorId !== $user->getUID()) { |
| 147 |
|
$notification->setUser($user->getUID()); |
| 148 |
|
$this->notificationManager->notify($notification); |
| 149 |
|
} |
| 150 |
|
}); |
| 151 |
|
} |
| 152 |
|
|
|
@@ 183-186 (lines=4) @@
|
| 180 |
|
$this->activityManager->publish($event); |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
if ($authorId !== $uid && !empty($publicity['notifications'])) { |
| 184 |
|
$notification->setUser($uid); |
| 185 |
|
$this->notificationManager->notify($notification); |
| 186 |
|
} |
| 187 |
|
|
| 188 |
|
$this->notifiedUsers[$uid] = true; |
| 189 |
|
} |