diff --git a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt index 89adeea92..1ae1a141c 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt @@ -682,7 +682,7 @@ class CallActivity : CallBaseActivity() { binding!!.hangupButton.setOnClickListener { showPopupMenu() } - }else{ + } else { if (isModerator) { binding!!.hangupButton.setOnLongClickListener { showPopupMenu() diff --git a/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt b/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt index ca3844058..625cfd082 100644 --- a/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt @@ -176,7 +176,7 @@ class CallNotificationActivity : CallBaseActivity() { binding!!.callAnswerVoiceOnlyView.setOnClickListener { Log.d(TAG, "accept call (voice only)") intent.putExtra(KEY_CALL_VOICE_ONLY, true) - intent.putExtra(KEY_ROOM_ONE_TO_ONE,isOneToOneCall) + intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall) proceedToCall() } binding!!.callAnswerCameraView.setOnClickListener { @@ -194,7 +194,7 @@ class CallNotificationActivity : CallBaseActivity() { private fun proceedToCall() { val callIntent = Intent(this, CallActivity::class.java) - intent.putExtra(KEY_ROOM_ONE_TO_ONE,isOneToOneCall) + intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall) callIntent.putExtras(intent.extras!!) startActivity(callIntent) } diff --git a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt index dfc7328dd..ac0fe43db 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt @@ -220,7 +220,6 @@ class NotificationWorker(context: Context, workerParams: WorkerParameters) : Wor } } - private fun handleCallPushMessage() { val userBeingCalled = userManager.getUserWithId(signatureVerification.user!!.id!!).blockingGet()