You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is something wrong when getting the contentType in _download(...) method.
Expected behavior
While receiving an audio message, the contentType should be one of the types in AudioComponent's MIME_TYPES, so the destination of received file can be confirmed.
Actual behavior
The content type we got is video/mp4, which is not in MIME_TYPES, thus the destination was assigned to be null.
Steps to reproduce
Add a break point in method _download(..) and run app in debug mode.
Record an audio and send it to a contact.
Receive this message and then check the value of contentType in debug mode.
Environment
Kontalk version: 4.4.0 Google
Android version: Android 10.0
Device: Google Pixel 2
The text was updated successfully, but these errors were encountered:
Description
There is something wrong when getting the
contentType
in_download(...)
method.Expected behavior
While receiving an audio message, the
contentType
should be one of the types inAudioComponent
'sMIME_TYPES
, so the destination of received file can be confirmed.Actual behavior
The content type we got is
video/mp4
, which is not inMIME_TYPES
, thus thedestination
was assigned to benull
.Steps to reproduce
_download(..)
and run app in debug mode.contentType
in debug mode.Environment
Kontalk version: 4.4.0 Google
Android version: Android 10.0
Device: Google Pixel 2
The text was updated successfully, but these errors were encountered: