Ensure mute state stays in sync after mutation (#10067)

This commit is contained in:
DS Boyce
2026-03-19 06:18:48 -07:00
committed by GitHub
parent 2a87f6f6b5
commit 876e20166a
3 changed files with 56 additions and 8 deletions
+10
View File
@@ -850,6 +850,16 @@ export class Convo {
this.commit()
}
updateMuted(muted: boolean) {
if (this.convo) {
this.convo = {
...this.convo,
muted,
}
}
this.commit()
}
async processPendingMessages() {
logger.debug(
`processing messages (${this.pendingMessages.size} remaining)`,