Browse Source

Fix double voice message

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
6bed9bf28c
  1. 1
      app/src/main/java/awais/instagrabber/viewmodels/DirectThreadViewModel.java

1
app/src/main/java/awais/instagrabber/viewmodels/DirectThreadViewModel.java

@ -181,6 +181,7 @@ public class DirectThreadViewModel extends AndroidViewModel {
MediaUtils.getVoiceInfo(contentResolver, uri, new MediaUtils.OnInfoLoadListener<MediaUtils.VideoInfo>() {
@Override
public void onLoad(@Nullable final MediaUtils.VideoInfo videoInfo) {
if (videoInfo == null) return;
threadManager.sendVoice(data,
uri,
result.getWaveform(),

Loading…
Cancel
Save