mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Adapt account record processor for linked devices
This commit is contained in:
parent
57164ad7fb
commit
fc2ae856d2
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class AccountRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
||||||
final var phoneNumberSharingMode = remote.getPhoneNumberSharingMode();
|
final var phoneNumberSharingMode = remote.getPhoneNumberSharingMode();
|
||||||
final var preferContactAvatars = remote.isPreferContactAvatars();
|
final var preferContactAvatars = remote.isPreferContactAvatars();
|
||||||
final var universalExpireTimer = remote.getUniversalExpireTimer();
|
final var universalExpireTimer = remote.getUniversalExpireTimer();
|
||||||
final var e164 = local.getE164();
|
final var e164 = account.isPrimaryDevice() ? local.getE164() : remote.getE164();
|
||||||
final var defaultReactions = !remote.getDefaultReactions().isEmpty()
|
final var defaultReactions = !remote.getDefaultReactions().isEmpty()
|
||||||
? remote.getDefaultReactions()
|
? remote.getDefaultReactions()
|
||||||
: local.getDefaultReactions();
|
: local.getDefaultReactions();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue