Merge "Null-check notif chan when ident people notifs" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-11 22:58:22 +00:00
committed by Android (Google) Code Review

View File

@@ -83,7 +83,7 @@ class PeopleNotificationIdentifierImpl @Inject constructor(
private val Ranking.personTypeInfo
get() = when {
channel.isImportantConversation -> TYPE_IMPORTANT_PERSON
channel?.isImportantConversation == true -> TYPE_IMPORTANT_PERSON
isConversation -> TYPE_PERSON
else -> TYPE_NON_PERSON
}