mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
@@ -70,7 +70,7 @@ class Colorizer {
|
||||
fun getIncomingGroupSenderColor(context: Context, recipient: Recipient): Int {
|
||||
return if (groupMembers.isEmpty()) {
|
||||
groupSenderColors[recipient.id]?.getColor(context) ?: getDefaultColor(context, recipient)
|
||||
} else {
|
||||
} else if (recipient.hasServiceId) {
|
||||
val memberPosition = groupMembers.indexOf(recipient.requireServiceId())
|
||||
|
||||
if (memberPosition >= 0) {
|
||||
@@ -79,6 +79,8 @@ class Colorizer {
|
||||
} else {
|
||||
getDefaultColor(context, recipient)
|
||||
}
|
||||
} else {
|
||||
getDefaultColor(context, recipient)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user