mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +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…
x
Reference in New Issue
Block a user