Fix bug with notification privacy and bubbles.

This commit is contained in:
Cody Henthorne
2021-04-15 11:35:27 -04:00
parent 3dd0a60555
commit 1457738905
2 changed files with 35 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ public final class BubbleUtil {
}
NotificationPrivacyPreference privacyPreference = TextSecurePreferences.getNotificationPrivacy(context);
if (!privacyPreference.isDisplayMessage()) {
if (!privacyPreference.isDisplayContact()) {
Log.i(TAG, "Bubbles are not available when notification privacy settings are enabled.");
return false;
}