Fix bug where default reactions were dropped in AccountRecord.
This commit is contained in:
parent
8595863afe
commit
b367701a96
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public final class SignalAccountRecord implements SignalRecord {
|
||||||
this.avatarUrlPath = OptionalUtil.absentIfEmpty(proto.avatarUrlPath);
|
this.avatarUrlPath = OptionalUtil.absentIfEmpty(proto.avatarUrlPath);
|
||||||
this.pinnedConversations = new ArrayList<>(proto.pinnedConversations.size());
|
this.pinnedConversations = new ArrayList<>(proto.pinnedConversations.size());
|
||||||
this.payments = new Payments(proto.payments.enabled, OptionalUtil.absentIfEmpty(proto.payments.entropy));
|
this.payments = new Payments(proto.payments.enabled, OptionalUtil.absentIfEmpty(proto.payments.entropy));
|
||||||
this.defaultReactions = new ArrayList<>(proto.preferredReactionEmoji.size());
|
this.defaultReactions = new ArrayList<>(proto.preferredReactionEmoji);
|
||||||
this.subscriber = new Subscriber(proto.subscriberCurrencyCode, proto.subscriberId.toByteArray());
|
this.subscriber = new Subscriber(proto.subscriberCurrencyCode, proto.subscriberId.toByteArray());
|
||||||
|
|
||||||
for (AccountRecord.PinnedConversation conversation : proto.pinnedConversations) {
|
for (AccountRecord.PinnedConversation conversation : proto.pinnedConversations) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue