mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
Send blocked status in contacts sync
This commit is contained in:
parent
7f0ce68ec1
commit
3a3d9545ea
1 changed files with 2 additions and 2 deletions
|
@ -1503,10 +1503,10 @@ public class Manager implements Signal {
|
||||||
|
|
||||||
byte[] profileKey = record.profileKey == null ? null : Base64.decode(record.profileKey);
|
byte[] profileKey = record.profileKey == null ? null : Base64.decode(record.profileKey);
|
||||||
// TODO store list of blocked numbers
|
// TODO store list of blocked numbers
|
||||||
boolean blocked = false;
|
|
||||||
out.write(new DeviceContact(record.getAddress(), Optional.fromNullable(record.name),
|
out.write(new DeviceContact(record.getAddress(), Optional.fromNullable(record.name),
|
||||||
createContactAvatarAttachment(record.number), Optional.fromNullable(record.color),
|
createContactAvatarAttachment(record.number), Optional.fromNullable(record.color),
|
||||||
Optional.fromNullable(verifiedMessage), Optional.fromNullable(profileKey), blocked, Optional.fromNullable(info != null ? info.messageExpirationTime : null)));
|
Optional.fromNullable(verifiedMessage), Optional.fromNullable(profileKey), record.blocked,
|
||||||
|
Optional.fromNullable(info != null ? info.messageExpirationTime : null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account.getProfileKey() != null) {
|
if (account.getProfileKey() != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue