Skip to content

Commit 8a9c32d

Browse files
committed
Add more notification event types for topic
1 parent f2115f2 commit 8a9c32d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Modules/Sources/NotificationsClient/NotificationsClient.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ extension NotificationsClient: DependencyKey {
128128
case 2:
129129
// Last message, unused
130130
return false
131+
case 3:
132+
// User mention, processing in showUnreadNotifications
133+
return false
134+
case 4:
135+
// Hat update
136+
subject.send(.topic(notification.id))
131137
default:
132138
analyticsClient.capture(EventError.unknownFlag(notificationRaw))
133139
return false

0 commit comments

Comments
 (0)