Null-check notif chan when ident people notifs

Bug: 151050221
Test: manual
Change-Id: I0cbf29a33c228ac9f3566639a592733716eee891
This commit is contained in:
Steve Elliott
2020-03-11 13:14:21 -04:00
parent fb2441b808
commit b17ee6c17c

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
}