fixed video message bug
This commit is contained in:
parent
4c8bd3dcd2
commit
9e982ca3f7
@ -101,7 +101,7 @@ public class MediaApi extends QyApi {
|
||||
mediaType = MediaType.image;
|
||||
} else if ("mp3/wma/wav/amr".contains(suffixName)) {
|
||||
mediaType = MediaType.voice;
|
||||
} else if ("rm/rmvb/wmv/avi/mpg/mpeg/mp4".equals(suffixName)) {
|
||||
} else if ("rm/rmvb/wmv/avi/mpg/mpeg/mp4".contains(suffixName)) {
|
||||
mediaType = MediaType.video;
|
||||
} else {
|
||||
mediaType = MediaType.file;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user