mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Add handleDial implementation in CFV2.
This commit is contained in:
committed by
Cody Henthorne
parent
693aef5c04
commit
99f83e5dc9
@@ -1963,7 +1963,13 @@ class ConversationFragment : LoggingFragment(R.layout.v2_conversation_fragment)
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun handleDial(isSecure: Boolean) {
|
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() {
|
override fun handleViewMedia() {
|
||||||
|
|||||||
Reference in New Issue
Block a user