mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix delete message for everyone doesn't stop the audio playing
This commit is contained in:
parent
10597f1f30
commit
0d3a33e6c6
@ -171,6 +171,7 @@ class ConversationViewModel(
|
||||
|
||||
fun deleteForEveryone(message: MessageRecord) = viewModelScope.launch {
|
||||
val recipient = recipient ?: return@launch Log.w("Loki", "Recipient was null for delete for everyone - aborting delete operation.")
|
||||
stopPlayingAudioMessage(message)
|
||||
|
||||
repository.deleteForEveryone(threadId, recipient, message)
|
||||
.onSuccess {
|
||||
|
Loading…
Reference in New Issue
Block a user