update UI after compression progress changes

(cherry picked from commit 8ea5808cd6)
This commit is contained in:
Christian Schneppe 2022-10-04 17:53:58 +02:00 committed by Arne
parent ce3a441cab
commit ef8e9f3e14

View file

@ -208,8 +208,9 @@ public class AttachFileToConversationRunnable implements Runnable, TranscoderLis
if (p > currentProgress) {
currentProgress = p;
mXmppConnectionService.getNotificationService().updateFileAddingNotification(p, message);
callback.progress(currentProgress);
isCompressingVideo = new String[]{conversation.getUuid(), String.valueOf(currentProgress)};
callback.progress(currentProgress);
mXmppConnectionService.getHttpConnectionManager().updateConversationUi(false);
}
}