mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Correct if condition
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
1bbc7caeee
commit
7c09a86c4d
@ -2725,8 +2725,8 @@ class ChatController(args: Bundle) :
|
||||
}
|
||||
|
||||
private fun startACall(isVoiceOnlyCall: Boolean, callWithoutNotification: Boolean) {
|
||||
val apu = ParticipantPermissions(conversationUser!!, currentConversation!!)
|
||||
if (apu.canStartCall() && currentConversation?.hasCall == false) {
|
||||
val pp = ParticipantPermissions(conversationUser!!, currentConversation!!)
|
||||
if (!pp.canStartCall() && currentConversation?.hasCall == false) {
|
||||
Toast.makeText(context, R.string.startCallForbidden, Toast.LENGTH_LONG).show()
|
||||
} else {
|
||||
ApplicationWideCurrentRoomHolder.getInstance().isDialing = true
|
||||
|
Loading…
Reference in New Issue
Block a user