Add handleDial implementation in CFV2.

This commit is contained in:
Alex Hart
2023-05-31 15:14:54 -03:00
committed by Cody Henthorne
parent 693aef5c04
commit 99f83e5dc9

View File

@@ -1963,7 +1963,13 @@ class ConversationFragment : LoggingFragment(R.layout.v2_conversation_fragment)
}
override fun handleDial(isSecure: Boolean) {
// TODO [cfv2] - ("Not yet implemented")
val recipient: Recipient = viewModel.recipientSnapshot ?: return
if (isSecure) {
CommunicationActions.startVoiceCall(this@ConversationFragment, recipient)
} else {
CommunicationActions.startInsecureCall(this@ConversationFragment, recipient)
}
}
override fun handleViewMedia() {