Commit 5ba0143
committed
fix(mobile): gate queued follow-ups on attachment uploads
Review follow-ups on the media chain.
onSendMessage grew an upload block guard from #8978 but onQueueFollowUp did
not, and upstream has no onQueueFollowUp to carry the change. Both UI entry
points gate on canSend today, so this is currently unreachable — but a future
caller would queue a follow-up mid-upload and start a second transfer of the
same bytes alongside the background worker's.
The collapsed queue pill also hardcoded its accessibility label while its send
sibling and the toolbar button both surface the block reason, so a failed
upload disabled the pill with nothing for VoiceOver to read.1 parent 1a8f1dc commit 5ba0143
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1797 | 1797 | | |
1798 | 1798 | | |
1799 | 1799 | | |
1800 | | - | |
| 1800 | + | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | 1803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
779 | 794 | | |
780 | 795 | | |
781 | 796 | | |
| |||
0 commit comments