Commit d7cff2d
feat(notifications): rebuild the group summary from the child's real MessagingStyle
The summary previously reconstructed each line from EXTRA_TITLE/EXTRA_TEXT, so
it showed the conversation title as the "sender". Extract the child's
MessagingStyle (public compat API) and reuse its latest message — real sender
Person and timestamp — falling back to the extras for children without an
extractable style.
Reimplements the useful half of an errored Copilot session's partial commit
(dropped from the branch): that version used the restricted
Message.getMessagesFromBundleArray API and also demoted fresh reactions on
already-read messages to historic context, which would have buried the very
event a reaction notification exists to surface.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 09d1032 commit d7cff2d
2 files changed
Lines changed: 23 additions & 9 deletions
File tree
- core/service/src
- androidHostTest/kotlin/org/meshtastic/core/service
- androidMain/kotlin/org/meshtastic/core/service
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| |||
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
535 | 542 | | |
536 | 543 | | |
537 | 544 | | |
| |||
0 commit comments