mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
Fix double voice message
This commit is contained in:
parent
d6c9b9b50a
commit
6bed9bf28c
@ -181,6 +181,7 @@ public class DirectThreadViewModel extends AndroidViewModel {
|
|||||||
MediaUtils.getVoiceInfo(contentResolver, uri, new MediaUtils.OnInfoLoadListener<MediaUtils.VideoInfo>() {
|
MediaUtils.getVoiceInfo(contentResolver, uri, new MediaUtils.OnInfoLoadListener<MediaUtils.VideoInfo>() {
|
||||||
@Override
|
@Override
|
||||||
public void onLoad(@Nullable final MediaUtils.VideoInfo videoInfo) {
|
public void onLoad(@Nullable final MediaUtils.VideoInfo videoInfo) {
|
||||||
|
if (videoInfo == null) return;
|
||||||
threadManager.sendVoice(data,
|
threadManager.sendVoice(data,
|
||||||
uri,
|
uri,
|
||||||
result.getWaveform(),
|
result.getWaveform(),
|
||||||
|
Loading…
Reference in New Issue
Block a user