summaryrefslogtreecommitdiffstats
path: root/src/components/CallView
diff options
context:
space:
mode:
authorKirtesh Suthar <kirtesh.suthar15@gmail.com>2022-10-22 18:08:38 +0530
committerGitHub <noreply@github.com>2022-10-22 18:08:38 +0530
commitdf2581a571f6a3e51e66f6821a42d105f5a386e6 (patch)
tree95c7ba68ffb167154e68999d5ad4176c4aa18ed7 /src/components/CallView
parent8bc9932a9bda8691b5f0ed2e2bf4120de29f8883 (diff)
Apply suggestions from code review
Thank you for suggesting!! Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Kirtesh Suthar <kirtesh.suthar15@gmail.com>
Diffstat (limited to 'src/components/CallView')
-rw-r--r--src/components/CallView/shared/EmptyCallView.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/CallView/shared/EmptyCallView.vue b/src/components/CallView/shared/EmptyCallView.vue
index 658d08b58..14f507d0e 100644
--- a/src/components/CallView/shared/EmptyCallView.vue
+++ b/src/components/CallView/shared/EmptyCallView.vue
@@ -122,11 +122,10 @@ export default {
if (this.isConnecting) {
return t('spreed', 'Connecting …')
}
- let callee = 'others'
if (this.isOneToOneConversation()) {
- callee = this.getDisplayName()
+ return t('spreed', 'Waiting for {user} to join the call', { user: this.getDisplayName() })
}
- return t('spreed', `Waiting for ${callee} to join the call …`)
+ return t('spreed', `Waiting for others to join the call …`)
},
message() {