summaryrefslogtreecommitdiffstats
path: root/lib/Notification/Listener.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-26 06:20:14 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-26 09:53:42 +0200
commit210c8a300a5edc73da7455d982ec994c35e4d7cb (patch)
tree49adec6a8d176b6aba3b43beed573ce5134f5223 /lib/Notification/Listener.php
parentf2cb1f4f51aba747aac5505339a3d574795dfbd9 (diff)
fix(events): Migrate "Resend call notification" to new event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Listener.php')
-rw-r--r--lib/Notification/Listener.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Notification/Listener.php b/lib/Notification/Listener.php
index 12cee6847..ccb0b2c7b 100644
--- a/lib/Notification/Listener.php
+++ b/lib/Notification/Listener.php
@@ -25,9 +25,9 @@ namespace OCA\Talk\Notification;
use OCA\Talk\AppInfo\Application;
use OCA\Talk\Events\AddParticipantsEvent;
+use OCA\Talk\Events\CallNotificationSendEvent;
use OCA\Talk\Events\JoinRoomUserEvent;
use OCA\Talk\Events\RoomEvent;
-use OCA\Talk\Events\SendCallNotificationEvent;
use OCA\Talk\Events\SilentModifyParticipantEvent;
use OCA\Talk\Model\Attendee;
use OCA\Talk\Room;
@@ -289,7 +289,7 @@ class Listener implements IEventListener {
}
public function handle(Event $event): void {
- if ($event instanceof SendCallNotificationEvent) {
+ if ($event instanceof CallNotificationSendEvent) {
$this->sendCallNotification($event->getRoom(), $event->getActor()->getAttendee(), $event->getTarget()->getAttendee());
}
}