Improved read receipt handling

Also, fix audio auto play of consecutive messages, even if they are in threads.
This commit is contained in:
N-Pex 2024-10-25 11:48:54 +02:00
parent 254eb72870
commit 24e119c150
2 changed files with 60 additions and 70 deletions

View file

@ -258,7 +258,7 @@ export default {
}
this.updateVisualization();
if (this.currentAudioEvent) {
this.$emit("mark-read", this.currentAudioEvent.getId(), this.currentAudioEvent.getId());
this.$emit("mark-read", [this.currentAudioEvent]);
}
},
audioPlaybackPaused() {