mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
do not try to recode videos when attached as files; esp. if the detection with isVideoType() fails (webm may be an image), this gets annoying
This commit is contained in:
@@ -993,7 +993,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
msg = new DcMsg(dcContext,
|
||||
attachment.isVoiceNote()? DcMsg.DC_MSG_VOICE : DcMsg.DC_MSG_AUDIO);
|
||||
}
|
||||
else if (MediaUtil.isVideoType(contentType)) {
|
||||
else if (MediaUtil.isVideoType(contentType) && slideDeck.getDocumentSlide()==null) {
|
||||
msg = new DcMsg(dcContext, DcMsg.DC_MSG_VIDEO);
|
||||
recompress = DcMsg.DC_MSG_VIDEO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user