Fix NPE when retrieving display name of unknown recipient.

This commit is contained in:
Alex Hart 2020-01-28 15:22:41 -04:00
parent 4ae7d56db4
commit f916aabb98

View File

@ -130,7 +130,7 @@ public class RecipientDetails {
this.blocked = false; this.blocked = false;
this.expireMessages = 0; this.expireMessages = 0;
this.participants = new LinkedList<>(); this.participants = new LinkedList<>();
this.profileName = null; this.profileName = ProfileName.EMPTY;
this.insightsBannerTier = InsightsBannerTier.TIER_TWO; this.insightsBannerTier = InsightsBannerTier.TIER_TWO;
this.defaultSubscriptionId = Optional.absent(); this.defaultSubscriptionId = Optional.absent();
this.registered = RegisteredState.UNKNOWN; this.registered = RegisteredState.UNKNOWN;