Nonsense-mediated mRNA decay modulates immune receptor levels to regulate plant antibacterial defense.