Repository navigation
fix: pass target to send_app_notification for correct deep link - #4748
Merged
Merged
Conversation
send_app_notification was called without target, so apps with
target: 'main' in their manifest still got navigate_to='/chat/{app_id}'
instead of '/chat/omi'. Determine target before sending notification.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request correctly addresses a bug where the target parameter was not being passed to send_app_notification, causing incorrect deep links for app notifications. The change correctly determines the target from the app's manifest and passes it to the notification function. The logic is sound and the implementation is a clear improvement. I have no further comments.
Closed
ellaaicare
pushed a commit
to ellaaicare/omi
that referenced
this pull request
Apr 12, 2026
…dHardware#4748) ## Summary - Follow-up to BasedHardware#4747 — `send_app_notification` was called without the `target` parameter, so apps with `target: "main"` in their manifest still got `navigate_to='/chat/{app_id}'` instead of `'/chat/omi'` - Determines `target` from manifest before sending the notification so the deep link matches where the message is stored ## Test plan - [ ] App with `target: "main"` — notification click opens main chat - [ ] App with `target: "app"` or no manifest — notification click opens app chat (unchanged) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
…dHardware#4748) ## Summary - Follow-up to BasedHardware#4747 — `send_app_notification` was called without the `target` parameter, so apps with `target: "main"` in their manifest still got `navigate_to='/chat/{app_id}'` instead of `'/chat/omi'` - Determines `target` from manifest before sending the notification so the deep link matches where the message is stored ## Test plan - [ ] App with `target: "main"` — notification click opens main chat - [ ] App with `target: "app"` or no manifest — notification click opens app chat (unchanged) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
send_app_notificationwas called without thetargetparameter, so apps withtarget: "main"in their manifest still gotnavigate_to='/chat/{app_id}'instead of'/chat/omi'targetfrom manifest before sending the notification so the deep link matches where the message is storedTest plan
target: "main"— notification click opens main chattarget: "app"or no manifest — notification click opens app chat (unchanged)🤖 Generated with Claude Code