mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Fix lobby copy when another of your devices is solely already in the group call.
This commit is contained in:
committed by
Alex Hart
parent
b7a067e954
commit
194975d068
@@ -30,6 +30,9 @@ data class CallParticipant constructor(
|
||||
val isPrimary: Boolean
|
||||
get() = deviceOrdinal == DeviceOrdinal.PRIMARY
|
||||
|
||||
val isSelf: Boolean
|
||||
get() = recipient.isSelf
|
||||
|
||||
fun getRecipientDisplayName(context: Context): String {
|
||||
return if (recipient.isSelf && isPrimary) {
|
||||
context.getString(R.string.CallParticipant__you)
|
||||
|
||||
Reference in New Issue
Block a user