Fix issue with starting video call

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-04-21 14:34:24 +02:00
parent c3dcb186fb
commit 3a1b7fb9f0
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0
2 changed files with 4 additions and 4 deletions

View File

@ -283,7 +283,7 @@ dependencies {
implementation 'eu.davidea:flexible-adapter-ui:1.0.0'
implementation 'eu.davidea:flexible-adapter-livedata:1.0.0-b3'
implementation 'com.otaliastudios:elements:0.3.7'
implementation 'org.webrtc:google-webrtc:1.0.23295'
implementation 'org.webrtc:google-webrtc:1.0.23995'
implementation 'com.yarolegovich:lovely-dialog:1.1.0'
implementation 'com.yarolegovich:lovelyinput:1.0.9'
implementation 'com.yarolegovich:mp:1.0.9'

View File

@ -252,7 +252,6 @@ class ChatView(private val bundle: Bundle) : BaseView(), ImageLoaderInterface {
if (adapterChatElement.data is ChatElement) {
val chatElement = adapterChatElement.data as ChatElement
showReplyView(chatElement.data as ChatMessage)
//view.messagesRecyclerView.postDelayed({ showReplyView(chatElement.data as ChatMessage)}, 125)
}
}
}
@ -272,11 +271,12 @@ class ChatView(private val bundle: Bundle) : BaseView(), ImageLoaderInterface {
return true
}
R.id.conversation_video_call -> {
startACall(true)
startACall(false)
return true
}
R.id.conversation_voice_call -> {
startACall(false)
startACall(true)
return true
}
R.id.conversation_info -> {
showConversationInfoScreen()