Skip to content

Commit cf8259b

Browse files
authored
Notifications: Fix target for mention notifications (#160)
1 parent ba00419 commit cf8259b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/PushNotifications/PushNotificationResponseHandler.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public class PushNotificationResponseHandler {
5050
case .quizExerciseStarted:
5151
guard let target = try? decoder.decode(QuizExerciseStartedTarget.self, from: targetData) else { return nil }
5252
return "courses/\(target.course)/quiz-exercises/\(target.id)/live"
53-
case .newReplyForCoursePost, .newCoursePost, .newAnnouncementPost,
53+
case .newReplyForCoursePost, .newCoursePost,
54+
.newAnnouncementPost, .conversationUserMentioned,
5455
.newExercisePost, .newReplyForExercisePost,
5556
.newLecturePost, .newReplyForLecturePost,
5657
.newExamPost, .newReplyForExamPost:

0 commit comments

Comments
 (0)