Skip to content

Commit 5098f6a

Browse files
committed
Forum notification event types improvements
1 parent 8a9c32d commit 5098f6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Modules/Sources/NotificationsClient/NotificationsClient.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,11 @@ extension NotificationsClient: DependencyKey {
141141

142142
case .forum:
143143
switch notification.flag {
144-
case 2:
144+
case 1:
145145
subject.send(.forum(notification.id))
146+
case 2:
147+
// Silent update, unused
148+
return false
146149
default:
147150
analyticsClient.capture(EventError.unknownFlag(notificationRaw))
148151
return false

0 commit comments

Comments
 (0)