mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-19 05:58:57 +00:00
Fix storing received profile keys
This commit is contained in:
parent
a6562b3b7b
commit
67f6378f7f
@ -1236,6 +1236,7 @@ public class Manager implements Signal {
|
|||||||
contact.number = source;
|
contact.number = source;
|
||||||
}
|
}
|
||||||
contact.profileKey = Base64.encodeBytes(message.getProfileKey().get());
|
contact.profileKey = Base64.encodeBytes(message.getProfileKey().get());
|
||||||
|
account.getContactStore().updateContact(contact);
|
||||||
}
|
}
|
||||||
if (message.getPreviews().isPresent()) {
|
if (message.getPreviews().isPresent()) {
|
||||||
final List<SignalServiceDataMessage.Preview> previews = message.getPreviews().get();
|
final List<SignalServiceDataMessage.Preview> previews = message.getPreviews().get();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user