Skip to content

Commit

Permalink
Notifications: Add target for new DM Notifications (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
anian03 authored Aug 21, 2024
1 parent d628c92 commit b6456ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public class PushNotificationResponseHandler {
.conversationAddUserChannel,
.conversationAddUserGroupChat,
.conversationRemoveUserChannel,
.conversationRemoveUserGroupChat:
.conversationRemoveUserGroupChat,
.conversationNewMessage:
guard let target = try? decoder.decode(ConversationTarget.self, from: targetData) else { return nil }
return "courses/\(target.course)/communication?conversationId=\(target.conversation)"
default:
Expand Down

0 comments on commit b6456ff

Please sign in to comment.