Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline editing and offline voice message fixes #4547

Merged
merged 4 commits into from
Nov 24, 2021

Conversation

ouchadam
Copy link
Contributor

@ouchadam ouchadam commented Nov 23, 2021

Breaking down #4527 into smaller PRs

BEFORE EDIT AFTER EDIT
before-edit-message after-edit-message
BEFORE PENDING OFFLINE AFTER PENDING OFFLINE
before-offline-vm after-offline-vm
AFTER FILENAME NAME AFTER FILENAME DOWNLOAD
after-voice-message after-downloaded-vm

- fixes flaky networks losing the voice file and being unable to retry
- stops the recording flow from deleting/overwriting pending voice messages
@ouchadam ouchadam mentioned this pull request Nov 23, 2021
@github-actions
Copy link

Unit Test Results

  66 files  ±0    66 suites  ±0   51s ⏱️ -1s
135 tests ±0  135 ✔️ ±0  0 💤 ±0  0 ±0 
418 runs  ±0  418 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 72bc442. ± Comparison against base commit c72dd5e.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

// Delete the temporary voice message file
if (params.attachment.type == ContentAttachmentData.Type.AUDIO && params.attachment.mimeType == MimeTypes.Ogg) {
context.contentResolver.delete(params.attachment.queryUri, null, null)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed internally, this will have to be updated later

@bmarty bmarty merged commit b3d1c4f into develop Nov 24, 2021
@bmarty bmarty deleted the feature/adm/voice-files branch November 24, 2021 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug|Crash] Voice Messages sending need more robustfully
2 participants