Use voice message player also for audio messages
Closes https://github.com/SchildiChat/SchildiChat-android/issues/88 Change-Id: I815a039dd638b7ec7dfcf186777e2042814d26a5
This commit is contained in:
parent
eadc990675
commit
e3b590bb8e
|
@ -160,7 +160,7 @@ class MessageItemFactory @Inject constructor(
|
||||||
is MessageVideoContent -> buildVideoMessageItem(messageContent, informationData, highlight, callback, attributes)
|
is MessageVideoContent -> buildVideoMessageItem(messageContent, informationData, highlight, callback, attributes)
|
||||||
is MessageFileContent -> buildFileMessageItem(messageContent, highlight, attributes)
|
is MessageFileContent -> buildFileMessageItem(messageContent, highlight, attributes)
|
||||||
is MessageAudioContent -> {
|
is MessageAudioContent -> {
|
||||||
if (messageContent.voiceMessageIndicator != null) {
|
if (true || messageContent.voiceMessageIndicator != null) {
|
||||||
buildVoiceMessageItem(params, messageContent, informationData, highlight, attributes)
|
buildVoiceMessageItem(params, messageContent, informationData, highlight, attributes)
|
||||||
} else {
|
} else {
|
||||||
buildAudioMessageItem(messageContent, informationData, highlight, attributes)
|
buildAudioMessageItem(messageContent, informationData, highlight, attributes)
|
||||||
|
|
Loading…
Reference in New Issue