Skip to content

feat(notification): add room topic to NotificationItem and NotificationRoomInfo structs #5300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jonasrichardrichter
Copy link
Contributor

This pull request adds a new room_topic field to the NotificationItem struct and exposes it in the FFI layer via NotificationRoomInfo. By including the room topic directly in notification-related data structures, clients especially those running in constrained environments such as iOS Notification Service Extensions can more easily access and display the room topic in notifications without requiring additional API calls or context.

  • Public API changes documented in changelogs (optional)

Signed-off-by: Jonas Richard Richter [email protected]

@jonasrichardrichter jonasrichardrichter requested a review from a team as a code owner June 27, 2025 13:02
@jonasrichardrichter jonasrichardrichter requested review from andybalaam and removed request for a team June 27, 2025 13:02
Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@andybalaam andybalaam enabled auto-merge (rebase) June 30, 2025 10:18
@andybalaam andybalaam merged commit 0d08093 into matrix-org:main Jun 30, 2025
47 checks passed
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.72%. Comparing base (4ecd599) to head (7e6ed35).
Report is 30 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5300      +/-   ##
==========================================
- Coverage   88.73%   88.72%   -0.02%     
==========================================
  Files         330      330              
  Lines       88770    88771       +1     
  Branches    88770    88771       +1     
==========================================
- Hits        78772    78758      -14     
- Misses       6192     6206      +14     
- Partials     3806     3807       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jonasrichardrichter jonasrichardrichter deleted the feature/notification_info_room_topic branch June 30, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants